aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-17 10:31:04 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-17 10:31:04 -0400
commita2c07016dfdafd8c64ae15b04b6928db5d7ec37f (patch)
tree09adacea9b95f8dd6b8710167a58106edf1da8fa
parent5d09bae3e3d0ebd5738e7e13047960cb4674c660 (diff)
downloadpablotron.org-a2c07016dfdafd8c64ae15b04b6928db5d7ec37f.tar.bz2
pablotron.org-a2c07016dfdafd8c64ae15b04b6928db5d7ec37f.zip
README.md: populate Deploy section
-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