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