Update deploy wasm workflow
Some checks failed
Build and Publish WASM version of demo / Build-And-Deploy-main (push) Has been skipped
Build and Publish WASM version of demo / Build-And-Deploy-devel (push) Failing after 49s

This commit is contained in:
Stephen Seo 2024-03-21 16:03:36 +09:00
parent 05b45f1296
commit 8b389c079a

View file

@ -22,7 +22,7 @@ jobs:
- run: install -m555 -D -t demo_0_out demo_0/wasm_build/jumpartifact.com_demo_0.js demo_0/wasm_build/jumpartifact.com_demo_0.wasm demo_0/wasm_build/jumpartifact.com_demo_0.data - run: install -m555 -D -t demo_0_out demo_0/wasm_build/jumpartifact.com_demo_0.js demo_0/wasm_build/jumpartifact.com_demo_0.wasm demo_0/wasm_build/jumpartifact.com_demo_0.data
- name: Deploy demo - name: Deploy demo
env: env:
DEPLOY_JA_DEMO_KEY: ${{ secrets.DEPLOY_JA_DEMO_KEY }} DEPLOY_JA_DEMO_KEY: ${{ secrets.DEPLOY_JA_DEMO_MAIN_KEY }}
run: set -o pipefail && set -u && umask 077 && echo "${DEPLOY_JA_DEMO_KEY}" | base64 -d - > ja_demo_key && rsync --rsh="ssh -i ja_demo_key" -r --delete demo_0_out/ deploy_user@seodisparate.com:/srv/http/jumpartifact.com/demo0/ run: set -o pipefail && set -u && umask 077 && echo "${DEPLOY_JA_DEMO_KEY}" | base64 -d - > ja_demo_key && rsync --rsh="ssh -i ja_demo_key" -r --delete demo_0_out/ deploy_user@seodisparate.com:/srv/http/jumpartifact.com/demo0/
Build-And-Deploy-devel: Build-And-Deploy-devel:
if: github.ref_name == 'devel' if: github.ref_name == 'devel'
@ -39,5 +39,5 @@ jobs:
- run: install -m555 -D -t demo_0_out demo_0/wasm_build/jumpartifact.com_demo_0.js demo_0/wasm_build/jumpartifact.com_demo_0.wasm demo_0/wasm_build/jumpartifact.com_demo_0.data - run: install -m555 -D -t demo_0_out demo_0/wasm_build/jumpartifact.com_demo_0.js demo_0/wasm_build/jumpartifact.com_demo_0.wasm demo_0/wasm_build/jumpartifact.com_demo_0.data
- name: Deploy demo - name: Deploy demo
env: env:
DEPLOY_JA_DEMO_KEY: ${{ secrets.DEPLOY_JA_DEMO_KEY }} DEPLOY_JA_DEMO_KEY: ${{ secrets.DEPLOY_JA_DEMO_DEVEL_KEY }}
run: set -o pipefail && set -u && umask 077 && echo "${DEPLOY_JA_DEMO_KEY}" | base64 -d - > ja_demo_key && rsync --rsh="ssh -i ja_demo_key" -r --delete demo_0_out/ deploy_user@seodisparate.com:/srv/http/jumpartifact.com/demo0_devel/ run: set -o pipefail && set -u && umask 077 && echo "${DEPLOY_JA_DEMO_KEY}" | base64 -d - > ja_demo_key && rsync --rsh="ssh -i ja_demo_key" -r --delete demo_0_out/ deploy_user@seodisparate.com:/srv/http/jumpartifact.com/demo0_devel/