zuul-website/roles/copy-site-to-artifacts/tasks/main.yaml

10 lines
328 B
YAML

- name: Write marker text
copy:
dest: "{{ source_dir }}/.root-marker"
content: "Project: {{ zuul.project.name }} Branch: {{ zuul.branch }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"
- name: Copy site to output directory
copy:
src: "{{ source_dir }}/"
dest: "{{ zuul.executor.work_root }}/artifacts/"