public-health-ch/ansible/roles/wagtail/tasks/release.yaml
2020-05-16 18:44:51 +02:00

18 lines
383 B
YAML

---
- name: Checkout code branch from git
git:
dest: "{{ release_dir }}"
repo: "{{ gitrepo }}"
version: "{{ gitversion }}"
force: no
- name: Copy Docker site configuration
template:
src: docker-compose.j2
dest: "{{ release_dir }}/docker-compose.yml"
- name: Rebuild and release Wagtail site
shell: make release
args:
chdir: "{{ release_dir }}"