Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copy project local files in example hook #404

Merged
merged 1 commit into from
Nov 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### HEAD
* Fix copy project local files in example hook ([#404](https://github.com/roots/trellis/pull/404))
* Update cron variable to match Bedrock ([#394](https://github.com/roots/trellis/pull/394))
* Add deploy_build_before example hook for theme assets ([#397](https://github.com/roots/trellis/pull/37))
* Use curl instead of dig for IP lookups ([#390](https://github.com/roots/trellis/pull/390))
Expand Down
16 changes: 9 additions & 7 deletions deploy-hooks/build-before.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@
# 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
# template:
# src: "{{ item.src }}"
# dest: "{{ deploy_helper.new_release_path }}/{{ item.dest }}"
# mode: "{{ item.mode | default('0644') }}"
# with_items:
# - src: "{{ project.local_path }}/web/app/themes/sage/dist"
# dest: web/app/themes/sage
# 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