From a68ef3c27b7d20c02504810737a21b5e3f2c1349 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 20 Sep 2024 21:40:10 +0200 Subject: [PATCH] Emscripten deployment steps. --- .github/workflows/emscripten.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index d2dd2310..8d932635 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -37,3 +37,18 @@ jobs: with: name: emscripten path: bin + deploy: + runs-on: ubuntu-latest + needs: build + if: github.ref == 'refs/heads/master' + steps: + - uses: actions/download-artifact@v4 + - uses: wlixcc/SFTP-Deploy-Action@v1.2.4 + with: + username: ${{ secrets.USERNAME }} + server: ${{ secrets.SERVER }} + port: ${{ secrets.PORT }} + ssh_private_key: ${{ secrets.PRIVATE_KEY }} + local_path: './emscripten/*' + remote_path: ${{ secrets.REMOTE_PATH }} + sftp_only: true \ No newline at end of file