test artifact
This commit is contained in:
parent
f50cb0b57e
commit
b82163f5f6
1 changed files with 3 additions and 1 deletions
|
@ -46,6 +46,8 @@ jobs:
|
|||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: static-site
|
||||
path: public
|
||||
- run: ls -R
|
||||
- name: Install SSH Key
|
||||
uses: https://github.com/shimataro/ssh-key-action@v2
|
||||
with:
|
||||
|
@ -63,7 +65,7 @@ jobs:
|
|||
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/* ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }}:~/fgo-ta_com/public
|
||||
run: rsync -az --stats public/* ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }}:~/fgo-ta_com/public
|
||||
- name: start
|
||||
uses: https://github.com/appleboy/ssh-action@master
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue