Moved serve to .local
This commit is contained in:
parent
92debcd2f7
commit
b54edba886
1 changed files with 2 additions and 2 deletions
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue