You've already forked wp-fedistream
fix: Add Composer auth for private repository in CI
Some checks failed
Create Release Package / build-release (push) Has been cancelled
Some checks failed
Create Release Package / build-release (push) Has been cancelled
Use COMPOSER_AUTH with HTTP basic auth to access private wc-licensed-product-client repository during builds. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,8 @@ jobs:
|
|||||||
run: composer validate --strict
|
run: composer validate --strict
|
||||||
|
|
||||||
- name: Install Composer dependencies (production)
|
- name: Install Composer dependencies (production)
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"http-basic": {"src.bundespruefstelle.ch": {"username": "git", "password": "${{ secrets.SRC_GITEA_TOKEN }}"}}}'
|
||||||
run: |
|
run: |
|
||||||
composer config platform.php 8.3.0
|
composer config platform.php 8.3.0
|
||||||
composer install --no-dev --optimize-autoloader --no-interaction
|
composer install --no-dev --optimize-autoloader --no-interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user