test artifact
All checks were successful
/ checking (push) Successful in 17s
/ build-site (push) Successful in 15s
/ deploy-site (push) Successful in 9s

This commit is contained in:
Firq 2023-12-19 23:05:27 +01:00
parent f50cb0b57e
commit b82163f5f6
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -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: