Make deploying easier
This commit is contained in:
parent
fc55f2c046
commit
becb8c4ce7
2 changed files with 25 additions and 1 deletions
9
deploy.sh
Executable file
9
deploy.sh
Executable 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue