Commit 01b40d1c authored by Dennis Dominik Schöpf's avatar Dennis Dominik Schöpf
Browse files

Remove currently deployed files on server before redeploying

parent 50c46ab4
......@@ -6,7 +6,7 @@
"scripts": {
"start": "parcel index.html",
"build": "rm -rf dist/ && parcel build index.html",
"deploy": "npm run build && scp -r -P 5412 dist/* admin@"
"deploy": "npm run build && ssh admin@ -p 5412 'rm -f /var/www/html/*' && scp -r -P 5412 dist/* admin@"
"keywords": [],
"author": "",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment