This commit is contained in:
parent
17267759df
commit
60a806ceaa
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
Loading…
Reference in a new issue