aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/README.md b/README.md
index a8758d5..3e43060 100644
--- a/README.md
+++ b/README.md
@@ -82,9 +82,25 @@ To serve this site locally:
## Deploy Site
-To deploy to production site:
+To clone site repo:
-*TODO*
+```bash
+# clone upstream repo (note wireguard hostname)
+git clone k3.wg:/git/sites/pablotron.org.git
+```
+
+Then:
+
+* make changes as usual
+* commit changes
+* push to upstream repo
+
+The push will trigger a hook which runs
+`/data/www/pablotron.org/data/bin/deploy.sh`, which will:
+
+1. Pull the latest changes from the git repository
+2. Run [Hugo][] to rebuild the site.
+3. Update the `htdocs` symlink
# Theme