Make deploying easier

This commit is contained in:
Stefan Bethke 2026-06-13 21:13:50 +02:00
commit becb8c4ce7
2 changed files with 25 additions and 1 deletions

9
deploy.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
# the instructions from the readme
pnpm run build
rsync -rv --delete dist/ public-web-static:ueberwachungsfrei.eu/
ssh public-web-static sudo rsync -rv --delete --chown=ueberwachungsfrei-deploy:ueberwachungsfrei-deploy ./ueberwachungsfrei.eu/ /var/www/ueberwachungsfrei.eu/