2017-04-26 13:37:15 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Checkout code branch from git
|
|
|
|
git:
|
|
|
|
dest: "{{ release_dir }}"
|
2020-05-16 13:43:10 +00:00
|
|
|
repo: "{{ gitrepo }}"
|
2017-05-05 14:31:25 +00:00
|
|
|
version: "{{ gitversion }}"
|
2020-05-16 13:43:10 +00:00
|
|
|
force: no
|
2017-04-26 13:37:15 +00:00
|
|
|
|
|
|
|
- name: Copy Docker site configuration
|
|
|
|
template:
|
|
|
|
src: docker-compose.j2
|
|
|
|
dest: "{{ release_dir }}/docker-compose.yml"
|
|
|
|
|
2020-05-16 16:44:51 +00:00
|
|
|
- name: Rebuild and release Wagtail site
|
|
|
|
shell: make release
|
|
|
|
args:
|
|
|
|
chdir: "{{ release_dir }}"
|