This commit is contained in:
parent
3d1583a3b7
commit
17267759df
1 changed files with 1 additions and 1 deletions
|
@ -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 reset --hard origin/master && sudo ${TARGETDIR}/deploy/deploy.sh"
|
ssh ${USERNAME}@${HOST} "cd ${TARGETDIR} && git fetch && git reset --hard origin/master && sudo ${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"
|
Loading…
Reference in a new issue