Skip to content

Commit

Permalink
[CD] Update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chnoblouch committed May 27, 2024
1 parent 80fb36f commit f4658e3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy-wasm-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
- name: Upload
working-directory: ${{ github.workspace }}/build
run: |
sshpass -p ${{ EMSCRIPTEN_DEPLOY_PASSWORD }} sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${{ EMSCRIPTEN_DEPLOY_REMOTE }} << EOF \
put app-Demo-SLProject.html public/www/app-Demo-SLProject.html \
put app-Demo-SLProject.js public/www/app-Demo-SLProject.js \
put app-Demo-SLProject.wasm public/www/app-Demo-SLProject.wasm \
put app-Demo-SLProject.worker.js public/www/app-Demo-SLProject.worker.js \
put app-Demo-SLProject.ww.js public/www/app-Demo-SLProject.ww.js \
EOF
sshpass -p "${{ secrets.WEB_DEPLOY_PASSWORD }}" \
sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${{ secrets.EMSCRIPTEN_DEPLOY_REMOTE }}" << EOF \
put app-Demo-SLProject.html public/www/app-Demo-SLProject.html \
put app-Demo-SLProject.js public/www/app-Demo-SLProject.js \
put app-Demo-SLProject.wasm public/www/app-Demo-SLProject.wasm \
put app-Demo-SLProject.worker.js public/www/app-Demo-SLProject.worker.js \
put app-Demo-SLProject.ww.js public/www/app-Demo-SLProject.ww.js \
EOF

0 comments on commit f4658e3

Please sign in to comment.