diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-17 10:31:04 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-17 10:31:04 -0400 |
commit | a2c07016dfdafd8c64ae15b04b6928db5d7ec37f (patch) | |
tree | 09adacea9b95f8dd6b8710167a58106edf1da8fa /README.md | |
parent | 5d09bae3e3d0ebd5738e7e13047960cb4674c660 (diff) | |
download | pablotron.org-a2c07016dfdafd8c64ae15b04b6928db5d7ec37f.tar.bz2 pablotron.org-a2c07016dfdafd8c64ae15b04b6928db5d7ec37f.zip |
README.md: populate Deploy section
Diffstat (limited to 'README.md')
-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 |