Optimizing find again

This commit is contained in:
Firq 2023-03-21 17:23:00 +01:00
parent 9df28603c8
commit 0776030cab
Signed by: Firq
GPG key ID: 4DE1059A4666E89F

View file

@ -65,7 +65,7 @@ deploy-site:
- echo "Copying to proxmox machine"
- rsync -az --stats public $DEPLOY_USER@$DEPLOY_HOST:~/.
- echo "Restarting screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "find maintenance public -maxdepth 1 -ls; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
- ssh $DEPLOY_USER@$DEPLOY_HOST "find maintenance public -maxdepth 1 -printf '%p\n'; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
- echo "Website is up on https://firq.dev/"
success_notification: