mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-12-22 22:10: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 }}
|