gating.dev/roles/copy-site-to-artifacts/tasks/main.yaml
James E. Blair 57092b09bc Add initial job framework
This adds a license, build and publish jobs, and an placeholder
index page.

Depends-On: https://review.opendev.org/801899
Change-Id: Ic9a31972c84b3b450abe093b273144f105fb0391
2021-07-22 13:53:37 -07:00

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/"