public-health-ch/ansible/roles/web/tasks/release.yaml
2017-04-26 15:37:15 +02:00

16 lines
395 B
YAML

---
- name: Checkout code branch from git
git:
repo: 'https://github.com/datalets/public-health-ch'
dest: "{{ release_dir }}"
force: yes
- name: Copy Docker site configuration
template:
src: docker-compose.j2
dest: "{{ release_dir }}/docker-compose.yml"
- name: Update Docker site
debug:
msg: "Please run 'make' in {{ release_dir }} to finish updating the site"