Run encore directly

This commit is contained in:
Oliver Davies 2018-01-17 07:31:41 +00:00
parent 099982ec6b
commit 17c639c652
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,6 @@
--- ---
- hosts: web - hosts: web
become: true
vars_files: vars_files:
- ./vars/vars.yml - ./vars/vars.yml

View file

@ -5,10 +5,9 @@
chdir: "{{ ansistrano_release_path.stdout }}" chdir: "{{ ansistrano_release_path.stdout }}"
- name: Install Webpack Encore assets - name: Install Webpack Encore assets
command: yarn run encore production command: './node_modules/.bin/encore production'
args: args:
chdir: "{{ ansistrano_release_path.stdout }}" chdir: "{{ ansistrano_release_path.stdout }}"
become: true
- name: Install Composer dependencies - name: Install Composer dependencies
composer: composer: