2024-09-28 04:03:12 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
git fetch
|
|
|
|
if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]
|
|
|
|
then
|
|
|
|
echo 'Behind remote config; updating'
|
|
|
|
git pull
|
2024-09-28 09:45:06 -04:00
|
|
|
docker-compose stop
|
2024-09-28 04:03:12 -04:00
|
|
|
fi
|
|
|
|
|
2024-09-29 00:30:51 -04:00
|
|
|
docker-compose up --build
|
2024-09-28 06:44:17 -04:00
|
|
|
|