blog: maintain two separate builds of the site; one for tor, one for https

This commit is contained in:
2023-01-16 17:17:07 -06:00
parent 1028023b8b
commit ca6fdaeff3
7 changed files with 15 additions and 6 deletions

View File

@@ -2,4 +2,7 @@
cd /var/www/{{ domain }}
/usr/bin/git fetch origin
/usr/bin/git reset --hard origin/main
/usr/bin/hugo
# build sites
/usr/bin/hugo --cleanDestinationDir --minify -d public -b https://{{ domain }}
/usr/bin/hugo --cleanDestinationDir --minify -d tor -b {{ onionDomain }}