Skip to content

Commit

Permalink
use composer auth in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-kamil committed Feb 7, 2024
1 parent 5fccc76 commit b2fd20d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
with:
php-version: 8.1
extensions: mbstring, bcmath, fileinfo, pdo_mysql
- name: Add Composer auth credentials (for Backpack Pro)
run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' > $GITHUB_WORKSPACE/auth.json
- run: composer install --no-progress --no-interaction
- uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -76,6 +78,8 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- name: Add Composer auth credentials (for Backpack Pro)
run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' > $GITHUB_WORKSPACE/auth.json
- run: composer install --no-progress --no-interaction --no-dev
- uses: atymic/deployer-php-action@0.2.0
with:
Expand Down

0 comments on commit b2fd20d

Please sign in to comment.