Skip to content

Commit

Permalink
Enable the errexit shell option for the deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrRip committed Dec 10, 2024
1 parent 50e045a commit 5edf94f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-build-deploy.yml
Original file line number Diff line number Diff line change
@@ -145,6 +145,7 @@ jobs:
-o StrictHostKeyChecking=no \
-p ${{ secrets.PROD_CLOUD_SSH_PORT }} \
${{ secrets.PROD_CLOUD_SSH_URI }} <<END
set -e
cd "${{ secrets.PROD_CLOUD_PROJECT_ROOT }}/${{ inputs.package }}"
pm2 delete mzg.fan-${{ inputs.package }}
rm -fr .output ecosystem.config.js

0 comments on commit 5edf94f

Please sign in to comment.