add upload script to package.json
This commit is contained in:
parent
9adba3d378
commit
9de2c65fcd
|
@ -5,7 +5,9 @@
|
|||
"start": "npm run build -- --serve",
|
||||
"build": "npx @11ty/eleventy --input=story --output=_site",
|
||||
"clean": "rimraf _site",
|
||||
"test": "ava"
|
||||
"test": "ava",
|
||||
"deploy": "npm run clean && npm run build && npm run __deploy-upload",
|
||||
"__deploy-upload": "rsync --recursive --update --compress --progress --delete _site/. nilsnh@box.nilsnh.no:/home/user-data/www/poetry-for-programmers.workshop.nilsnh.no"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue