mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-14 03:40:05 +00:00
11 lines
271 B
YAML
11 lines
271 B
YAML
|
- name: Clone blog repository
|
||
|
git:
|
||
|
repo: "https://github.com/CPunch/openpunk.git"
|
||
|
dest: "/var/www/{{ domain }}"
|
||
|
|
||
|
- name: Build blog
|
||
|
command:
|
||
|
cmd: hugo
|
||
|
chdir: "/var/www/{{ domain }}"
|
||
|
|
||
|
# TODO: missing cron job for regenerating the static blog every hour
|