mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-22 15:30:05 +00:00
9 lines
268 B
Bash
9 lines
268 B
Bash
#!/bin/bash
|
|
cd /var/www/{{ domain }}
|
|
/usr/bin/git fetch origin
|
|
/usr/bin/git reset --hard origin/main
|
|
|
|
# build sites
|
|
/usr/bin/hugo --cleanDestinationDir --minify -d public -b https://{{ domain }}
|
|
/usr/bin/hugo --cleanDestinationDir --minify -d tor -b {{ onionDomain }}
|