summaryrefslogtreecommitdiff
path: root/tools/publish
diff options
context:
space:
mode:
Diffstat (limited to 'tools/publish')
-rwxr-xr-xtools/publish11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/publish b/tools/publish
index 9ee5d71..14a69ef 100755
--- a/tools/publish
+++ b/tools/publish
@@ -4,8 +4,13 @@ cd "$(dirname "$0")/.."
## tools/publish
##
-## Publishes site/ to the S3 bucket hosting grimoire.ca
+## Publishes public/ to the server hosting grimoire.ca
-exec rsync -zav --delete --progress \
- site/ \
+exec rsync \
+ --compress \
+ --archive \
+ --delete \
+ --verbose \
+ --progress \
+ public/ \
admin@grimoire.ca:/srv/grimoire.ca/webroot/