22 lines
507 B
YAML
22 lines
507 B
YAML
---
|
|
- name: Install Node dependencies
|
|
command: yarn install
|
|
args:
|
|
chdir: "{{ ansistrano_release_path.stdout }}"
|
|
|
|
- name: Install Webpack Encore assets
|
|
command: yarn run encore production
|
|
args:
|
|
chdir: "{{ ansistrano_release_path.stdout }}"
|
|
become: true
|
|
|
|
- name: Install Composer dependencies
|
|
composer:
|
|
command: install
|
|
working_dir: "{{ ansistrano_release_path.stdout }}"
|
|
|
|
- name: Generate the site
|
|
command: composer run prod
|
|
args:
|
|
chdir: "{{ ansistrano_release_path.stdout }}"
|