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:
Andreas Jaeger 2018-02-19 20:32:48 +01:00
parent 47c6da3df3
commit 8fca2715d3
2 changed files with 4 additions and 8 deletions

View File

@ -4,10 +4,8 @@
# docs are always the latest release with older tags available under the # docs are always the latest release with older tags available under the
# root in the tagname dir. # root in the tagname dir.
- name: Copy content to the temporary location - name: Copy content to the temporary location
copy: # remote_src copy does not work recursively, using command
remote_src: true command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp
src: "{{ doc_build_dir }}/html"
dest: "{{ doc_build_dir }}/tmp"
- name: Make destination path - name: Make destination path
file: file:

View File

@ -4,10 +4,8 @@
# docs are always the latest release with older tags available under the # docs are always the latest release with older tags available under the
# root in the tagname dir. # root in the tagname dir.
- name: Copy content to the temporary location - name: Copy content to the temporary location
copy: # remote_src copy does not work recursively, using command
remote_src: true command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp
src: "{{ doc_build_dir }}/html"
dest: "{{ doc_build_dir }}/tmp"
- name: Make destination path - name: Make destination path
file: file: