Move composer install into a build hook
This commit is contained in:
parent
80dcc8a215
commit
7152ebc412
|
@ -14,9 +14,4 @@
|
|||
ansistrano_deploy_to: "{{ app_project_root }}"
|
||||
ansistrano_current_dir: current
|
||||
ansistrano_keep_releases: 5
|
||||
|
||||
# tasks:
|
||||
# - name: Installing Composer dependencies
|
||||
# composer:
|
||||
# command: install
|
||||
# working_dir: "{{ app_project_root }}"
|
||||
ansistrano_before_symlink_tasks_file: "{{ playbook_dir }}/deploy/before-symlink.yml"
|
||||
|
|
5
ansible/deploy/before-symlink.yml
Normal file
5
ansible/deploy/before-symlink.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install Composer dependencies
|
||||
composer:
|
||||
command: install
|
||||
working_dir: '{{ ansistrano_release_path.stdout }}'
|
Loading…
Reference in a new issue