aaa
Some checks failed
/ checking (push) Successful in 16s
/ deploy-site (push) Failing after 8s
/ build-site (push) Successful in 32s

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

View file

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