Simplify Ansible code, remove old files
This commit is contained in:
parent
65c70a6158
commit
ec4dbfd481
13 changed files with 174 additions and 440 deletions
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
- 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 }}
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
- name: Reload nginx
|
||||
service: name=nginx state=reloaded
|
Loading…
Add table
Add a link
Reference in a new issue