oliverdavies.uk/ansible/hooks/after-symlink-shared.yml
2017-10-30 00:17:48 +00:00

21 lines
478 B
YAML

---
- name: "Install node dependencies"
command: 'yarn install'
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- name: 'Generate assets'
command: 'npm run prod'
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- 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 }}"