Skip to content

Commit

Permalink
fix: try again
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Sep 25, 2022
1 parent 82f32ab commit 0d647b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
DEPLOY_BRANCH: ${{ secrets.DEPLOY_BRANCH }}
- name: Stop Bot Process
if: ${{ steps.release.outputs.release == 'yes' }}
run: ssh bot 'source ~/.zshrc; pm2 stop genesis-prod worker-prod; pm2 delete genesis-prod worker-prod'
run: ssh bot 'source ~/.zshrc && { pm2 stop genesis-prod worker-prod; pm2 delete genesis-prod worker-prod } || echo "Nothing to stop"'
- name: Update Bot server
if: ${{ steps.release.outputs.release == 'yes' }}
run: ssh bot 'source ~/.zshrc && cd ~/genesis && git checkout -- . && git fetch --all && git reset --hard origin/master'
Expand Down

0 comments on commit 0d647b4

Please sign in to comment.