Fixing subaction + artifact upload
This commit is contained in:
parent
e6bd4f18bf
commit
c78b66ec63
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue