Gitlab Upgrade von 13 auf 14.1 erfolgreich erledigt. Morgen, Donnerstag, kommt noch der upgrade auf 14.2.

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": "",
......@@ -15,4 +15,4 @@
"parcel-bundler": "^1.12.4",
"sass": "^1.27.0"
}
}
\ No newline at end of file
}
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