yagcdn/update.sh
2019-07-29 22:38:13 +02:00

19 lines
174 B
Bash
Executable File

#!/usr/bin/env sh
set -e
update() {
git stash
git pull
git stash pop
}
build() {
docker-compose build
docker-compose down
docker-compose up -d
}
update
build