Add update script

This commit is contained in:
Valentin Brandl 2019-07-29 22:37:44 +02:00
parent b56eb1ba61
commit eae6127c6a
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

18
frontend/update.sh Executable file
View File

@ -0,0 +1,18 @@
#!/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