fix paths in prepare deploy and add local deploy script
All checks were successful
/ ls (pull_request) Successful in 31s
/ ls (push) Successful in 31s

This commit is contained in:
Jonas 2024-06-24 21:19:11 +02:00
parent b6e0ef44f4
commit 57b4e33028
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM
3 changed files with 8 additions and 1 deletions

6
deploy/local-deploy.sh Executable file
View 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'

View file

@ -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
View file