Skip to content

Commit

Permalink
explicitly create preview tool dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Jan 31, 2024
1 parent 5cd5a8d commit af19767
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deploy-preview/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@


tasks:
- name: Create tool dir
ansible.builtin.file:
path: "{{ dest_tools_dir }}/{{ tool_dir }}_pr{{ pr_num }}"
state: directory
mode: 0755

- name: Sync tool dir
ansible.posix.synchronize:
src: "{{ src_tools_dir }}/{{ tool_dir }}/"
dest: "{{ dest_tools_dir }}/{{ tool_dir }}_pr{{ pr_num }}"
rsync_opts:
- "--chown=galaxy:galaxy"
- "--mkpath"

- name: Make id unique
replace:
Expand Down

0 comments on commit af19767

Please sign in to comment.