From 60a806ceaab14f32edaa486bb4cee1ea0159bd13 Mon Sep 17 00:00:00 2001 From: Michel Date: Thu, 7 Nov 2024 18:38:11 +0100 Subject: [PATCH] Adds missing bash to sudo --- .forgejo/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index be7a810..eaae743 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -25,6 +25,6 @@ jobs: # Stop service ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose down -v" # Update Service - ssh ${USERNAME}@${HOST} "cd ${TARGETDIR} && git fetch && git reset --hard origin/master && sudo ${TARGETDIR}/deploy/deploy.sh" + ssh ${USERNAME}@${HOST} "cd ${TARGETDIR} && git fetch && git reset --hard origin/master && sudo bash ${TARGETDIR}/deploy/deploy.sh" # Start service ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose up -d" \ No newline at end of file