11 lines
176 B
Bash
11 lines
176 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
git fetch
|
||
|
if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]
|
||
|
then
|
||
|
echo 'Behind remote config; updating'
|
||
|
git pull
|
||
|
docker compose up -d --build
|
||
|
fi
|
||
|
|