Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Commit 78a2988

Browse files
committed
Fix Fuel Setup for Composer
1 parent 62eeedc commit 78a2988

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323

2424

2525
- name: FUEL | Install Composer dependencies
26-
command: "{{fuel_composer_dest}}/composer.phar install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader --auth http-basic.repo.packagist.com {{fuel_packagist_username}} {{fuel_packagist_token}}"
26+
command: "{{fuel_composer_dest}}/composer.phar install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader"
27+
environment:
28+
COMPOSER_AUTH: "{{ {'http-basic': {'repo.packagist.com': {'username': fuel_packagist_username, 'password': fuel_packagist_token}}} | to_json }}"
2729
args:
2830
chdir: "{{ ansistrano_release_path.stdout }}"
2931
when: fuel_setup_project

0 commit comments

Comments
 (0)