summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build4
-rwxr-xr-xtools/publish11
2 files changed, 10 insertions, 5 deletions
diff --git a/tools/build b/tools/build
index 5e25d51..49b2007 100755
--- a/tools/build
+++ b/tools/build
@@ -4,6 +4,6 @@ cd "$(dirname "$0")/.."
## tools/build
##
-## Converts the content in docs/ into a deployable website in site/
+## Converts the content in content/ into a deployable website in public/
-exec mkdocs build
+exec hugo --cleanDestinationDir
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/