diff options
Diffstat (limited to 'tools/publish')
| -rwxr-xr-x | tools/publish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/publish b/tools/publish new file mode 100755 index 0000000..9ee5d71 --- /dev/null +++ b/tools/publish @@ -0,0 +1,11 @@ +#!/bin/bash -e + +cd "$(dirname "$0")/.." + +## tools/publish +## +## Publishes site/ to the S3 bucket hosting grimoire.ca + +exec rsync -zav --delete --progress \ + site/ \ + admin@grimoire.ca:/srv/grimoire.ca/webroot/ |
