package.json - add build and deploy scripts

bin/deploy wraps the rsync command.
This commit is contained in:
Nick Stokoe
2023-05-09 15:42:59 +01:00
parent 0f5d81e59f
commit a37b8e68d3
2 changed files with 10 additions and 0 deletions

8
bin/deploy Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -vx
rsync -avzc \
--delete \
-C \
_site/ \
-- \
"$1"