Run encore directly
This commit is contained in:
parent
099982ec6b
commit
17c639c652
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- hosts: web
|
||||
become: true
|
||||
|
||||
vars_files:
|
||||
- ./vars/vars.yml
|
||||
|
|
|
@ -5,10 +5,9 @@
|
|||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
||||
- name: Install Webpack Encore assets
|
||||
command: yarn run encore production
|
||||
command: './node_modules/.bin/encore production'
|
||||
args:
|
||||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
become: true
|
||||
|
||||
- name: Install Composer dependencies
|
||||
composer:
|
||||
|
|
Reference in a new issue