openpunk-ansible/tasks/blog-setup.yml

11 lines
271 B
YAML
Raw Normal View History

2022-05-30 15:46:36 +00:00
- 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