This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/ansible/deploy/after-symlink-shared.yml
2018-01-05 22:56:06 +00:00

21 lines
505 B
YAML

---
- name: Install Node dependencies
command: yarn install
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- name: Install Webpack Encore assets
command: './node_modules/.bin/encore production'
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 }}"