Just pushed to my demo site with a before deploy hook running all to display the theme correctly:
# Placeholder `deploy_build_before` hook for building theme assets locally
# and then copying the files to the remote server
#
# Uncomment the lines below and replace `sage` with your theme folder
---
- name: Run npm install
command: npm install
connection: local
args:
chdir: "{{ project.local_path }}/web/app/themes/ianua"
- name: Run bower install
command: bower install
connection: local
args:
chdir: "{{ project.local_path }}/web/app/themes/ianua"
- name: Run gulp
command: gulp --production
connection: local
args:
chdir: "{{ project.local_path }}/web/app/themes/ianua"
- name: Copy project local files
synchronize:
src: "{{ project.local_path }}/web/app/themes/ianua/dist"
dest: "{{ deploy_helper.new_release_path }}/web/app/themes/ianua"
group: no
owner: no
rsync_opts: --chmod=Du=rwx,--chmod=Dg=rx,--chmod=Do=rx,--chmod=Fu=rw,--chmod=Fg=r,--chmod=Fo=r
Running all on developer with just gulp
is fine. So something is off here. Header is not 100% on demo site now and footer (with some sidebars including one wrapped in an ACL if this field YES then show) is not being rendered. Should I switch to staging locally and see what is up? Are there way to debug issues when doing gulp --production
?