Last active
April 12, 2016 23:00
-
-
Save cmosguy/230b00f78d2a2848cc972e688f6ae371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Run npm install - for sage | |
command: npm install | |
connection: local | |
args: | |
chdir: "/vagrant-nfs-workspace/{{ project.local_path }}/web/app/themes/sage" | |
with_dict: "{{ wordpress_sites }}" | |
when: item.value.sage_template | default(false) | |
- name: Run bower install -for sage | |
command: bower install | |
connection: local | |
args: | |
chdir: "/vagrant-nfs-workspace/{{ project.local_path }}/web/app/themes/sage" | |
with_dict: "{{ wordpress_sites }}" | |
when: item.value.sage_template | default(false) | |
- name: Run gulp - for sage | |
command: gulp --production | |
connection: local | |
args: | |
chdir: "/vagrant-nfs-workspace/{{ project.local_path }}/web/app/themes/sage" | |
with_dict: "{{ wordpress_sites }}" | |
when: item.value.sage_template | default(false) | |
- name: Copy project local files | |
synchronize: | |
src: "/vagrant-nfs-workspace/{{ project.local_path }}/web/app/themes/sage/dist" | |
dest: "{{ deploy_helper.new_release_path }}/web/app/themes/sage" | |
group: no | |
owner: no | |
rsync_opts: --chmod=Du=rwx,--chmod=Dg=rx,--chmod=Do=rx,--chmod=Fu=rw,--chmod=Fg=r,--chmod=Fo=r | |
with_dict: "{{ wordpress_sites }}" | |
when: item.value.sage_template | default(false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment