yagcdn/update.sh

19 lines
174 B
Bash
Raw Permalink Normal View History

2019-07-29 22:37:44 +02:00
#!/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