Skip to content

Commit 55e7d78

Browse files
authored
Merge main into this branch to deploy to dev for testing.
2 parents f7bdbc7 + c9082e6 commit 55e7d78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cd_dev.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
cd /srv/node/tiny-node/
7777
pm2 stop tinyNode
7878
git stash
79-
git pull
80-
git checkout ${{ github.head_ref }}
81-
git pull
79+
git fetch --prune origin
80+
git checkout -B ${{ github.head_ref }} origin/${{ github.head_ref }}
81+
git reset --hard origin/${{ github.head_ref }}
8282
npm install
8383
pm2 start -i max bin/tinyNode.js

0 commit comments

Comments
 (0)