From f4658e3dfb1decb4b8606d634c55fc6c13f4f83d Mon Sep 17 00:00:00 2001 From: Marino von Wattenwyl Date: Mon, 27 May 2024 14:53:48 +0200 Subject: [PATCH] [CD] Update deployment workflow --- .github/workflows/deploy-wasm-emscripten.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-wasm-emscripten.yml b/.github/workflows/deploy-wasm-emscripten.yml index ad1c6987..0ad2843f 100644 --- a/.github/workflows/deploy-wasm-emscripten.yml +++ b/.github/workflows/deploy-wasm-emscripten.yml @@ -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