mirror of
https://github.com/recklessop/zroc.git
synced 2026-07-02 21:13:15 -04:00
Update getupdates.sh
This commit is contained in:
@@ -8,6 +8,8 @@ git pull
|
|||||||
|
|
||||||
# check if there are any changes
|
# check if there are any changes
|
||||||
if [[ $(git diff HEAD@{1} HEAD) ]]; then
|
if [[ $(git diff HEAD@{1} HEAD) ]]; then
|
||||||
|
# if getupdates.sh scripts is update it make it executable
|
||||||
|
chmod +x ./cron/getupdates.sh
|
||||||
# if there are changes, run docker-compose up with force-restart
|
# if there are changes, run docker-compose up with force-restart
|
||||||
docker-compose up -d --force-restart
|
docker-compose up -d --force-restart
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user