From d6043de81a6b69144476b3c60a64f94b91277616 Mon Sep 17 00:00:00 2001 From: Owen Date: Sun, 22 Dec 2024 21:22:33 +0100 Subject: [PATCH] command start change --- .github/workflows/production.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 74cf8c0..6b56475 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -67,9 +67,9 @@ jobs: script: | cd /home/${{ secrets.USERNAME }}/plantid_discord_bot tar -xzf release.tar.gz - current_release/bin/plantid_discord_bot stop || true + ./current_release/bin/plantid_discord_bot stop || true rm -rf old_release mv current_release old_release || true mv plantid_discord_bot current_release - current_release/bin/plantid_discord_bot daemon + ./current_release/bin/plantid_discord_bot daemon rm -f release.tar.gz