moving dirs
This commit is contained in:
parent
93ad10a1d5
commit
26b732f29e
1 changed files with 4 additions and 4 deletions
|
@ -59,11 +59,11 @@ deploy-site:
|
||||||
- echo "Getting artifacts"
|
- echo "Getting artifacts"
|
||||||
- ls public
|
- ls public
|
||||||
- echo "Stopping screen session, cleaning"
|
- echo "Stopping screen session, cleaning"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-fgota-npx kill; rm -r -f fgota-public/*;"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-fgota-npx kill; rm -r -f fgo-ta_com/fgota-public/*;"
|
||||||
- echo "Copying to proxmox machine"
|
- echo "Copying to proxmox machine"
|
||||||
- rsync -az --stats public/* $DEPLOY_USER@$DEPLOY_HOST:~/fgota-public
|
- rsync -az --stats public/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/fgota-public
|
||||||
- echo "Restarting screen session"
|
- echo "Restarting screen session"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "find fgota-public -maxdepth 1 -printf '%p\n'; screen -S website-fgota-npx -dm npx serve fgota-public/ -p 9200 -c serve.json"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "cd fgo-ta_com; find fgota-public -maxdepth 1 -printf '%p\n'; screen -S website-fgota-npx -dm npx serve fgota-public/ -p 9200 -c serve.json"
|
||||||
- echo "Website is up on https://fgo-ta.com"
|
- echo "Website is up on https://fgo-ta.com"
|
||||||
|
|
||||||
|
|
||||||
|
@ -80,5 +80,5 @@ redeploy-site:
|
||||||
- echo "Stopping screen session"
|
- echo "Stopping screen session"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-fgota-npx kill" || true
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-fgota-npx kill" || true
|
||||||
- echo "Restarting screen session"
|
- echo "Restarting screen session"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-fgota-npx -dm npx serve fgota-public/ -p 9200 -c serve.json"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "cd fgo-ta_com; screen -S website-fgota-npx -dm npx serve fgota-public/ -p 9200 -c serve.json"
|
||||||
- echo "Website is up on https://fgo-ta.com/"
|
- echo "Website is up on https://fgo-ta.com/"
|
||||||
|
|
Loading…
Reference in a new issue