Moved serve to .local

This commit is contained in:
Firq 2023-08-04 22:29:38 +02:00
parent 92debcd2f7
commit b54edba886
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -63,7 +63,7 @@ deploy-site:
- echo "Copying to proxmox machine"
- rsync -az --stats public/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/public
- echo "Restarting screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "cd fgo-ta_com; find public -maxdepth 1 -printf '%p\n'; screen -S fgo-ta_com-public -dm ~/serve public/ -p 9200"
- 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'
- echo "Website is up on https://fgo-ta.com"
@ -80,5 +80,5 @@ redeploy-site:
- echo "Stopping screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-fgota-npx kill" || true
- echo "Restarting screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "cd fgo-ta_com; screen -S fgo-ta_com-public -dm ~/serve public/ -p 9200"
- ssh $DEPLOY_USER@$DEPLOY_HOST 'PATH="$HOME/.local/bin:$PATH"; cd fgo-ta_com; screen -S fgo-ta_com-public -dm serve public/ -p 9200'
- echo "Website is up on https://fgo-ta.com/"