We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0cb47 commit d6682f2Copy full SHA for d6682f2
.github/workflows/build_and_publish.yml
@@ -46,3 +46,19 @@ jobs:
46
run: gh release upload "${{ github.event.release.tag_name }}" "build.zip" --clobber
47
env:
48
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49
+
50
+ # Send to the server
51
+ - name: multiple command
52
+ uses: appleboy/[email protected]
53
+ with:
54
+ host: ${{ secrets.SSH_HOST }}
55
+ username: ${{ secrets.SSH_USERNAME }}
56
+ key: ${{ secrets.SSH_PRIVATE_KEY }}
57
+ script: |
58
+ curl -L -o build.zip https://github.com/COMSOC-Community/pabuviz-web/releases/download/${{ github.event.release.tag_name }}/build.zip
59
+ rm -rf web_old/*
60
+ mv web/* web_old/
61
+ mv build.zip web/
62
+ cd web/
63
+ unzip build.zip
64
+ rm build.zip
0 commit comments