This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
run: ls -la build/
|
||||
|
||||
- name: Deploy to server via SSH
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
uses: appleboy/scp-action@v1
|
||||
with:
|
||||
host: ${{ secrets.WSS_SSH_HOST }}
|
||||
username: ${{ secrets.WSS_SSH_USER }}
|
||||
@@ -34,6 +34,10 @@ jobs:
|
||||
port: ${{ secrets.WSS_SSH_PORT }}
|
||||
source: "build/*"
|
||||
target: ${{ secrets.WSS_DEPLOY_PATH }}
|
||||
strip_components: 1
|
||||
rm: false
|
||||
debug: true
|
||||
flatten: true
|
||||
|
||||
- name: Restart Docker containers
|
||||
uses: appleboy/ssh-action@v1.2.5
|
||||
|
||||
Reference in New Issue
Block a user