add upload script to package.json

This commit is contained in:
nilsnh 2023-04-05 17:41:56 +02:00
parent 9adba3d378
commit 9de2c65fcd

View file

@ -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",