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
Oliver Davies 3009e5a5e3 wip
2018-03-01 08:22:57 +00:00

18 lines
573 B
YAML

---
- name: Install Composer dependencies
composer:
command: install
working_dir: "{{ ansistrano_release_path.stdout }}"
- name: Generate the site once without assets
command: composer run prod chdir={{ ansistrano_release_path.stdout }}
- name: Install Node dependencies
command: yarn install chdir={{ ansistrano_release_path.stdout }}
- name: Generate assets
command: yarn run encore production chdir={{ ansistrano_release_path.stdout }}
- name: Generate the site, including assets
command: composer run prod chdir={{ ansistrano_release_path.stdout }}