removed flags, find instead of ls
This commit is contained in:
parent
f97af9d4fd
commit
714d91ac1c
1 changed files with 2 additions and 2 deletions
|
@ -61,11 +61,11 @@ deploy-site:
|
||||||
- echo "Getting artifacts"
|
- echo "Getting artifacts"
|
||||||
- ls public
|
- ls public
|
||||||
- echo "Stopping screen session, cleaning"
|
- echo "Stopping screen session, cleaning"
|
||||||
- ssh -t $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill; rm -r -f public/*;"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill; rm -r -f public/*;"
|
||||||
- echo "Copying to proxmox machine"
|
- echo "Copying to proxmox machine"
|
||||||
- rsync -az --stats public $DEPLOY_USER@$DEPLOY_HOST:~/.
|
- rsync -az --stats public $DEPLOY_USER@$DEPLOY_HOST:~/.
|
||||||
- echo "Restarting screen session"
|
- echo "Restarting screen session"
|
||||||
- ssh -t $DEPLOY_USER@$DEPLOY_HOST "ls public/; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "find -maxdepth 2 -ls; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
||||||
- echo "Website is up on https://firq.dev/"
|
- echo "Website is up on https://firq.dev/"
|
||||||
|
|
||||||
success_notification:
|
success_notification:
|
||||||
|
|
Loading…
Reference in a new issue