Skip to content
Snippets Groups Projects
Commit bf992a49 authored by jurgenhaas's avatar jurgenhaas
Browse files

Do not re-deploy into bare repositories

parent c36a1f61
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@
force: yes
version: '{{ drupal.src.git.branch|default(omit) }}'
become: false
when: not drupal.src.git.bare|default(false)
- name: "Second Clone Git Repository"
git:
......@@ -25,7 +26,7 @@
dest: '{{ webRoot }}{{ drupal.src.git.target2 }}'
force: yes
version: '{{ drupal.src.git.branch|default(omit) }}'
when: drupal.src.git.target2 is defined
when: drupal.src.git.target2 is defined and not drupal.src.git.bare|default(false)
- name: "Run Script"
shell: '{{ webRoot }}{{ drupal.src.git.target }}{{ drupal.src.script }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment