Skip to content

Commit

Permalink
chore: update bedrock trigger with environment variables (#34)
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 fcf998d commit 9f52c17
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
steps:
- name: Trigger Bedrock Updates
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 9f52c17

Please sign in to comment.