Adds npm script to publish to www dir

This commit is contained in:
Andrew Gioia 2020-07-17 09:21:44 -04:00
parent 4dbf8a0522
commit 32d9a683a4

View File

@ -10,7 +10,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sass": "sass --no-source-map assets/scss/main.scss public/css/style.css",
"watch": "sass --no-source-map --watch assets/scss/main.scss public/css/style.css"
"watch": "sass --no-source-map --watch assets/scss/main.scss public/css/style.css",
"publish": "cp -R public/* /var/www/blog.andrewgioia.com/*"
},
"repository": {
"type": "git",