fix paths in prepare deploy and add local deploy script
This commit is contained in:
parent
b6e0ef44f4
commit
57b4e33028
3 changed files with 8 additions and 1 deletions
6
deploy/local-deploy.sh
Executable file
6
deploy/local-deploy.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
. ./deploy/prepare-deploy.sh
|
||||||
|
ssh leitstelle-futtern 'systemctl --user stop pod-futtern'
|
||||||
|
rsync -avz --delete deploy/ leitstelle-futtern:futtern --exclude=var
|
||||||
|
ssh leitstelle-futtern '/home/c3h-futtern/futtern/update.sh'
|
|
@ -17,6 +17,7 @@ done
|
||||||
|
|
||||||
rm ./bin/phpunit
|
rm ./bin/phpunit
|
||||||
APP_ENV=prod composer install --no-dev -a
|
APP_ENV=prod composer install --no-dev -a
|
||||||
|
rm -rf ./var/cache
|
||||||
|
|
||||||
|
cd -
|
||||||
|
|
||||||
|
|
0
deploy/update.sh
Normal file → Executable file
0
deploy/update.sh
Normal file → Executable file
Loading…
Reference in a new issue