aaa
This commit is contained in:
parent
08ea9ec963
commit
f50cb0b57e
1 changed files with 5 additions and 5 deletions
|
@ -56,19 +56,19 @@ jobs:
|
|||
- name: stop + cleanup
|
||||
uses: https://github.com/appleboy/ssh-action@master
|
||||
with:
|
||||
host: $DEPLOY_HOST
|
||||
username: $DEPLOY_USER
|
||||
host: ${{ env.DEPLOY_HOST }}
|
||||
username: ${{ env.DEPLOY_USER }}
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
screen -X -S fgo-ta_com-public kill
|
||||
rm -r -f fgo-ta_com/public/*
|
||||
- name: copy using rsync
|
||||
run: rsync -az --stats static-site/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/public
|
||||
run: rsync -az --stats static-site/* ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }}:~/fgo-ta_com/public
|
||||
- name: start
|
||||
uses: https://github.com/appleboy/ssh-action@master
|
||||
with:
|
||||
host: $DEPLOY_HOST
|
||||
username: $DEPLOY_USER
|
||||
host: ${{ env.DEPLOY_HOST }}
|
||||
username: ${{ env.DEPLOY_USER }}
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
|
|
Loading…
Reference in a new issue