Skip to content

Commit

Permalink
chore: update bedrock trigger with environment variables (pressbooks#197
Browse files Browse the repository at this point in the history
)

* chore: update bedrock trigger with environment variables

* fix: update trigger bedrok update github action job environment variable to use sqs to sns.
  • Loading branch information
ho-man-chan committed Mar 20, 2024
1 parent f7fe42e commit c071307
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/standards-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ jobs:
- name: Trigger Bedrock Update
if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/production') && matrix.experimental == false
uses: pressbooks/composer-autoupdate-bedrock@main
with:
triggered-by: ${{ github.repository }}
token: ${{ secrets.PAT_COMPOSER_UPDATE }}
branch: ${{ github.ref }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SNS_ARN_DEV: ${{ secrets.AWS_SNS_ARN_DEV }}
AWS_SNS_ARN_STAGING: ${{ secrets.AWS_SNS_ARN_STAGING }}
INPUT_TRIGGERED_BY: ${{ github.repository }}
INPUT_BRANCH: ${{ github.ref }}

0 comments on commit c071307

Please sign in to comment.