Permalink
Browse files

Deploys: compile assets locally

  • Loading branch information...
swalkinshaw committed Apr 18, 2015
1 parent b8443ab commit 91af1b7fb681bb4d6b6bc1d87dd5061f64178db9
Showing with 15 additions and 2 deletions.
  1. +1 −1 ansible/group_vars/development
  2. +14 −1 ansible/group_vars/production
@@ -6,7 +6,7 @@ wordpress_sites:
roots-example-project.com:
site_hosts:
- roots-example-project.dev
local_path: 'site' # path targeting local Bedrock project directory (relative to Ansible root)
local_path: '../site' # path targeting local Bedrock project directory (relative to Ansible root)
repo: git@github.com:roots/bedrock.git
site_install: true
site_title: Example Site
@@ -8,11 +8,24 @@ github_ssh_keys:
authorized:
- "{{ web_user }}"
project_pre_build_commands_local:
- path: "{{ project.local_path }}/web/app/themes/sage"
cmd: npm install
- path: "{{ project.local_path }}/web/app/themes/sage"
cmd: bower install
- path: "{{ project.local_path }}/web/app/themes/sage"
cmd: gulp --production
project_local_files:
- name: compiled theme assets
src: "{{ project.local_path }}/web/app/themes/sage/dist"
dest: web/app/themes/sage
wordpress_sites:
roots-example-project.com:
site_hosts:
- roots-example-project.com
local_path: 'site' # path targeting local Bedrock project directory (relative to Ansible root)
local_path: '../site' # path targeting local Bedrock project directory (relative to Ansible root)
repo: git@github.com:roots/roots-example-project.com.git
subtree: site
system_cron: true

0 comments on commit 91af1b7

Please sign in to comment.