diff options
-rw-r--r-- | README.md | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -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 |