mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 08:24:05 +02:00
redeploy as root
This commit is contained in:
parent
d016ed4a69
commit
6bf3ee3e68
9
deploy/pull_and_build.sh
Executable file
9
deploy/pull_and_build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
git pull --rebase
|
||||
|
||||
cd backend
|
||||
make clean
|
||||
make RELEASE=1
|
||||
cd ..
|
||||
|
@ -9,12 +9,7 @@ set +e
|
||||
fuser -k 8080/tcp
|
||||
set -e
|
||||
|
||||
git pull --rebase
|
||||
|
||||
cd backend
|
||||
make clean
|
||||
make RELEASE=1
|
||||
cd ..
|
||||
su host -c 'sh deploy/pull_and_build.sh'
|
||||
|
||||
sh deploy/install_service.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user