3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-08 03:27:20 +00:00
zeppelin/update.sh

14 lines
302 B
Bash
Executable file

#!/bin/bash
echo Updating Zeppelin...
docker compose -f docker-compose.production.yml stop
git pull
if [ $? -ne 0 ]; then
echo "git pull failed. exiting."
exit 1
fi
docker compose -f docker-compose.production.yml build
docker compose -f docker-compose.production.yml up -d
echo Update finished!