Skip to content

Instantly share code, notes, and snippets.

@cmosguy
Created March 29, 2016 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmosguy/f0f02f6f5788d817ebac64b348de28f4 to your computer and use it in GitHub Desktop.
Save cmosguy/f0f02f6f5788d817ebac64b348de28f4 to your computer and use it in GitHub Desktop.
#- name: Run npm install
# command: npm install
# connection: local
# args:
# chdir: "{{ project.local_path }}/web/app/themes/sage"
#
#- name: Run bower install
# command: bower install
# connection: local
# args:
# chdir: "{{ project.local_path }}/web/app/themes/sage"
#
#- name: Run gulp
# command: gulp --production
# connection: local
# args:
# chdir: "{{ project.local_path }}/web/app/themes/sage"
- name: Copy project local files
synchronize:
src: "{{ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment