Emscripten deployment steps.

This commit is contained in:
Bartosz Taudul 2024-09-20 21:40:10 +02:00
parent aa451b48bb
commit a68ef3c27b
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -37,3 +37,18 @@ jobs:
with: with:
name: emscripten name: emscripten
path: bin 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