mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2025-11-08 00:20:05 +00:00
blog: maintain two separate builds of the site; one for tor, one for https
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user