Docs promotion: create destination directory
...before we try to write something to it. Change-Id: I095dd85a0e8764cd2884ff80ef8d7aca89abac1d
This commit is contained in:
parent
68d7800566
commit
d9056897f7
|
@ -28,6 +28,10 @@
|
|||
when: "zuul.branch != 'master'"
|
||||
set_fact:
|
||||
publication_dir: "{{ zuul.branch }}"
|
||||
- name: Create publication directory
|
||||
file:
|
||||
path: "/afs/.openstack.org/project/opendev.org/docs/{{ zuul.project.name }}/"
|
||||
state: directory
|
||||
- name: Create redirect htaccess file
|
||||
copy:
|
||||
dest: "/afs/.openstack.org/project/opendev.org/docs/{{ zuul.project.name }}/.htaccess"
|
||||
|
|
Loading…
Reference in New Issue