Run Encore to generate assets

Fixes #45
This commit is contained in:
Oliver Davies 2018-01-05 22:16:30 +00:00
parent f9210f75ac
commit 14d6859675

View file

@ -1,11 +1,11 @@
---
- name: Install node dependencies
- name: Install Node dependencies
command: yarn install
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- name: Build assets
command: npm run prod
- name: Install Webpack Encore assets
command: './node_modules/.bin/encore production'
args:
chdir: "{{ ansistrano_release_path.stdout }}"