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
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: static-site
|
name: static-site
|
||||||
|
path: public
|
||||||
|
- run: ls -R
|
||||||
- name: Install SSH Key
|
- name: Install SSH Key
|
||||||
uses: https://github.com/shimataro/ssh-key-action@v2
|
uses: https://github.com/shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
|
@ -63,7 +65,7 @@ jobs:
|
||||||
screen -X -S fgo-ta_com-public kill
|
screen -X -S fgo-ta_com-public kill
|
||||||
rm -r -f fgo-ta_com/public/*
|
rm -r -f fgo-ta_com/public/*
|
||||||
- name: copy using rsync
|
- 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
|
- name: start
|
||||||
uses: https://github.com/appleboy/ssh-action@master
|
uses: https://github.com/appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue