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

Fix aliases for branches containing a slash

parent 1c7e697b
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,8 @@
args:
chdir: '{{ webRoot }}'
with_items:
- sql:sync --create-db @{{ drupal.id }}_stages.{{ branch }} @{{ drupal.id }}_stages.{{ destination_branch }}
- rsync @{{ drupal.id }}_stages.{{ branch }}:%files/ @{{ drupal.id }}_stages.{{ destination_branch }}:%files -- --chown={{ apacheUser }}:{{ apacheUser }} --safe-links
- sql:sync --create-db @{{ drupal.id }}_stages.{{ branch|replace("/","-") }} @{{ drupal.id }}_stages.{{ destination_branch|replace("/","-") }}
- rsync @{{ drupal.id }}_stages.{{ branch|replace("/","-") }}:%files/ @{{ drupal.id }}_stages.{{ destination_branch|replace("/","-") }}:%files -- --chown={{ apacheUser }}:{{ apacheUser }} --safe-links
- cache-rebuild
- updatedb
- config-import sync
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment