Add deploy.sh script

This commit is contained in:
Amber Sprenkels
2022-08-08 17:53:47 +02:00
parent 388fe97e56
commit 2cfd25c978

7
deploy.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
export NODE_ENV="production"
export PUBLIC_URL="/paklijst"
npm run-script build || exit 1
rsync -ravuzh --delete build/ suki:/var/www/ds7s.nl/paklijst/ || exit 1