Test deploying with ansistrano
This commit is contained in:
parent
52797cd0c1
commit
38e76328d6
2 changed files with 10 additions and 10 deletions
|
@ -1,20 +1,20 @@
|
|||
---
|
||||
- name: "Install node dependencies"
|
||||
command: 'yarn install'
|
||||
- name: Install node dependencies
|
||||
command: yarn install
|
||||
args:
|
||||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
||||
- name: 'Generate assets'
|
||||
command: 'npm run prod'
|
||||
- name: Build assets
|
||||
command: npm run prod
|
||||
args:
|
||||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
||||
- name: 'Install Composer dependencies'
|
||||
- name: Install Composer dependencies
|
||||
composer:
|
||||
command: install
|
||||
working_dir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
||||
- name: 'Generate the site'
|
||||
command: 'composer run prod'
|
||||
- name: Generate the site
|
||||
command: composer run prod
|
||||
args:
|
||||
chdir: "{{ ansistrano_release_path.stdout }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue