From 0776030cabe34777cbf8cb8b299340e6f414f8a1 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 21 Mar 2023 17:23:00 +0100 Subject: [PATCH] Optimizing find again --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7302695..f3280c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: