Add update script
This commit is contained in:
parent
b56eb1ba61
commit
eae6127c6a
18
frontend/update.sh
Executable file
18
frontend/update.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user