Skip to content

Commit 577d5c5

Browse files
authored
fix: deploy script (#2409)
1 parent e0f5116 commit 577d5c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,12 @@ jobs:
120120
key: ${{ secrets.KEY }}
121121
envs: JWTSECRET,MX_ENCRYPT_KEY
122122
script: |
123-
set -e
124123
whoami
125124
cd
126125
source ~/.zshrc
127126
cd mx
128127
ls -a
129-
node server-deploy.js --jwtSecret=$JWTSECRET --encrypt_key=$MX_ENCRYPT_KEY --encrypt_enable --scp_path=/tmp/mx-core/release-linux.zip
128+
node server-deploy.js --jwtSecret=$JWTSECRET --encrypt_key=$MX_ENCRYPT_KEY --encrypt_enable --scp_path=/tmp/mx-core/release-linux.zip || { echo "Deploy failed"; exit 1; }
130129
131130
docker:
132131
name: Docker Release

0 commit comments

Comments
 (0)