Skip to content

Commit

Permalink
Avoid aws-configure action unless on main
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 9, 2024
1 parent 9aa4edc commit 926cf4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
${{ github.ref_name == 'main' && '--push' || '' }}
${{ needs.changes.outputs.restylers }}
- uses: aws-actions/configure-aws-credentials@v4
- if: ${{ github.ref_name == 'main' }}
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: ${{ vars.AWS_ROLE }}
Expand Down

0 comments on commit 926cf4b

Please sign in to comment.