Fix publishing tagged docs
Using copy and remote_src does not work recursively. Use "cp" command directly instead. Change-Id: I8f94edf807fb4c320d72526633c40d7d3d9a0a0c
This commit is contained in:
parent
47c6da3df3
commit
8fca2715d3
@ -4,10 +4,8 @@
|
||||
# docs are always the latest release with older tags available under the
|
||||
# root in the tagname dir.
|
||||
- name: Copy content to the temporary location
|
||||
copy:
|
||||
remote_src: true
|
||||
src: "{{ doc_build_dir }}/html"
|
||||
dest: "{{ doc_build_dir }}/tmp"
|
||||
# remote_src copy does not work recursively, using command
|
||||
command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp
|
||||
|
||||
- name: Make destination path
|
||||
file:
|
||||
|
@ -4,10 +4,8 @@
|
||||
# docs are always the latest release with older tags available under the
|
||||
# root in the tagname dir.
|
||||
- name: Copy content to the temporary location
|
||||
copy:
|
||||
remote_src: true
|
||||
src: "{{ doc_build_dir }}/html"
|
||||
dest: "{{ doc_build_dir }}/tmp"
|
||||
# remote_src copy does not work recursively, using command
|
||||
command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp
|
||||
|
||||
- name: Make destination path
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user