Remove ansible, add Docker nginx config
This commit is contained in:
parent
2a890a682a
commit
c900558d03
8 changed files with 162 additions and 223 deletions
|
@ -1,20 +0,0 @@
|
|||
---
|
||||
- name: Install node dependencies
|
||||
command: yarn install
|
||||
args:
|
||||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
||||
- name: Build 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 }}"
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
- name: Reload nginx
|
||||
service: name=nginx state=reloaded
|
Loading…
Add table
Add a link
Reference in a new issue