From a2c07016dfdafd8c64ae15b04b6928db5d7ec37f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 10:31:04 -0400 Subject: README.md: populate Deploy section --- README.md | 20 ++++++++++++++++++-- 1 file 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 -- cgit v1.2.3