project-config/playbooks/publish/pypi.yaml

8 lines
200 B
YAML

- hosts: localhost
roles:
- role: ensure-twine
when: zuul_success | bool
- role: upload-pypi
pypi_path: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool