File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 48
48
- name : Deploy
49
49
env :
50
50
COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
51
- run : npm run deploy -- --msg "$COMMIT_MESSAGE"
51
+ run : |
52
+ set -e
53
+ npm run deploy -- --msg "$COMMIT_MESSAGE"
Original file line number Diff line number Diff line change 9
9
"deploy:setup-user" : " git config --global user.name 'github-actions[bot]'" ,
10
10
"deploy:setup-email" : " git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'" ,
11
11
"deploy:setup-history" : " rm -rf .deploy_git && git clone --branch $(hexo config deploy.branch --silent) $(hexo config deploy.repo --silent) .deploy_git" ,
12
- "predeploy" : " ( npm run deploy:setup-user & npm run deploy:setup-email) && npm run deploy:setup-history" ,
13
- "deploy" : " hexo generate --deploy"
12
+ "predeploy" : " npm run deploy:setup-user && npm run deploy:setup-email && npm run deploy:setup-history" ,
13
+ "deploy" : " hexo generate --deploy --bail "
14
14
},
15
15
"hexo" : {
16
16
"version" : " 6.3.0"
You can’t perform that action at this time.
0 commit comments