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@193.170.119.179:/var/www/html"
"deploy": "npm run build && ssh admin@193.170.119.179 -p 5412 'rm -f /var/www/html/*' && scp -r -P 5412 dist/* admin@193.170.119.179:/var/www/html"
},
"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