updated deploy script to use rsync

This commit is contained in:
Benjamin Jones 2020-11-22 21:11:39 +01:00
parent cf0cd29580
commit c5b3489f11

View File

@ -10,8 +10,8 @@
"start-parcel": "parcel src/index.js -d assets/js", "start-parcel": "parcel src/index.js -d assets/js",
"build-jekyll": "JEKYLL_ENV=production jekyll build", "build-jekyll": "JEKYLL_ENV=production jekyll build",
"build-parcel": "parcel build src/index.js -d ./_site/assets/js", "build-parcel": "parcel build src/index.js -d ./_site/assets/js",
"deploy-dev": "npm run build && scp -r -P 7833 ./_site/* amemasu@185.203.114.165:/var/www/dev.reclaimfutures.org", "deploy-dev": "npm run build && rsync -a -e 'ssh -p 7833' ./_site/* amemasu@185.203.114.165:/var/www/dev.reclaimfutures.org",
"deploy-prod": "npm run build && scp -r -P 7833 ./_site/* amemasu@185.203.114.165:/var/www/reclaimfutures.org" "deploy-prod": "npm run build && rsync -a -e 'ssh -p 7833' ./_site/* amemasu@185.203.114.165:/var/www/reclaimfutures.org"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",