Fixing subaction + artifact upload
Some checks failed
/ deploy-site (push) Failing after 1s
/ checking (push) Successful in 39s
/ build-site (push) Successful in 40s

This commit is contained in:
Firq 2023-12-19 22:11:58 +01:00
parent e6bd4f18bf
commit c78b66ec63
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -46,7 +46,7 @@ jobs:
with: with:
name: static-site name: static-site
- name: Setup ssh - name: Setup ssh
uses: ./.forgejo/workflows/ssh-setup.yml uses: ./.forgejo/workflows/ssh-setup
with: with:
DEPLOY_HOST: $DEPLOY_HOST DEPLOY_HOST: $DEPLOY_HOST
SSH_KNOWN_HOSTS: $SSH_KNOWN_HOSTS SSH_KNOWN_HOSTS: $SSH_KNOWN_HOSTS
@ -54,6 +54,6 @@ jobs:
- name: Stopping screen session, cleaning - name: Stopping screen session, cleaning
run: ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S fgo-ta_com-public kill; rm -r -f fgo-ta_com/public/*;" run: ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S fgo-ta_com-public kill; rm -r -f fgo-ta_com/public/*;"
- name: Copying to proxmox machine - name: Copying to proxmox machine
run: rsync -az --stats public/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/public run: rsync -az --stats static-site/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/public
- name: Restarting screen session - name: Restarting screen session
run: ssh $DEPLOY_USER@$DEPLOY_HOST 'PATH="$HOME/.local/bin:$PATH"; cd fgo-ta_com; find public -maxdepth 1 -printf "%p\n"; screen -S fgo-ta_com-public -dm serve public/ -p 9200' run: ssh $DEPLOY_USER@$DEPLOY_HOST 'PATH="$HOME/.local/bin:$PATH"; cd fgo-ta_com; find public -maxdepth 1 -printf "%p\n"; screen -S fgo-ta_com-public -dm serve public/ -p 9200'