Adds missing bash to sudo
Some checks failed
/ build (push) Failing after 6s

This commit is contained in:
Michel 2024-11-07 18:38:11 +01:00
parent 17267759df
commit 60a806ceaa

View file

@ -25,6 +25,6 @@ jobs:
# Stop service # Stop service
ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose down -v" ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose down -v"
# Update Service # 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 # Start service
ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose up -d" ssh ${USERNAME}@${HOST} "cd ${TARGETDIR}/deploy && sudo docker compose up -d"