Trying to fix autoupdate

This commit is contained in:
retropikzel 2024-09-29 07:41:30 +03:00
parent 9df8aadac2
commit 171899a1df
1 changed files with 1 additions and 8 deletions

View File

@ -1,12 +1,5 @@
#!/bin/bash
git fetch
if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]
then
echo 'Behind remote config; updating'
git pull
docker-compose stop
fi
git pull
docker-compose up --build