This repository was archived by the owner on Jun 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1616 msg : " A personal fuel_packagist_token must be set in your `deployment_vars_local.yml` file. Make sure to add single quotes around the token."
1717 when : fuel_packagist_token is undefined or fuel_packagist_token is none or fuel_packagist_token | trim == ''
1818
19+ - name : FUEL | Fail if fuel_packagist_username is not set
20+ fail :
21+ msg : " A personal fuel_packagist_username must be set in your `deployment_vars_local.yml` file. Make sure to add single quotes around the token."
22+ when : fuel_packagist_username is undefined or fuel_packagist_username is none or fuel_packagist_username | trim == ''
23+
24+
1925- name : FUEL | Install Composer dependencies
20- command : " {{fuel_composer_dest}}/composer.phar install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader --auth http-basic.repo.packagist.com token {{fuel_packagist_token}}"
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}}"
2127 args :
2228 chdir : " {{ ansistrano_release_path.stdout }}"
2329 when : fuel_setup_project
3642 when : fuel_build_theme
3743
3844- name : FUEL | Install composer dependencies for theme
39- command : " {{fuel_composer_dest}}/composer.phar install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader --auth http-basic.repo.packagist.com token {{fuel_packagist_token}}"
45+ 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}}"
4046 args :
4147 chdir : " {{ ansistrano_release_path.stdout }}/web/app/themes/{{ fuel_theme_name }}"
4248 when : fuel_build_theme and theme_composer_json.stat.exists and not theme_local_deployment.stat.exists
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ fuel_slack_username: ''
88
99fuel_use_vm: true
1010
11+ fuel_packagist_username: ''
1112fuel_packagist_token: ''
You can’t perform that action at this time.
0 commit comments