@vighnalabs-packages/utilities 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  name: Deploy Production
2
2
 
3
3
  on:
4
- push:
5
- branches: [production]
4
+ push:
5
+ branches: [production]
6
6
 
7
7
  jobs:
8
- build-and-deploy:
9
- runs-on: ubuntu-latest
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
10
 
11
- steps:
12
- - name: Get SSH keys and set permissions
13
- run: |
14
- mkdir -p ~/.ssh
15
- echo "${{ secrets.MAC_AIR_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
16
- - name: Deploy to Server
17
- run: ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa ${{ secrets.SH_USER }}@${{ secrets.DEBIAN_SERVER_IP }} 'cd vighnalabs/vighnalabs-packages/utilities/ && sh deploy.production.sh'
11
+ steps:
12
+ - name: Get SSH keys and set permissions
13
+ run: |
14
+ mkdir -p ~/.ssh
15
+ echo "${{ secrets.MAC_AIR_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
16
+ - name: Deploy to Server
17
+ run: ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa ${{ secrets.SH_USER }}@${{ secrets.DEBIAN_SERVER_IP }} 'cd vighnalabs/vighnalabs-packages/utilities/ && sh deploy.production.sh'
@@ -3,10 +3,11 @@ echo "Started Production Deployment"
3
3
  git checkout production
4
4
 
5
5
  echo "Pulling Latest Code"
6
- git pull --ff-only
6
+ git fetch origin
7
+ git reset --hard origin/production
7
8
 
8
9
  echo "Installing Dependencies"
9
- npm install
10
+ npm ci
10
11
 
11
12
  echo "Running Deployment"
12
13
  npm run deploy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vighnalabs-packages/utilities",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",