Skip to content

Commit

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

* fix: remove unneeded idea

* fix: update trigger bedrok update github action job environment variable to use sqs to sns.
  • Loading branch information
ho-man-chan authored Mar 20, 2024
1 parent 88a2a94 commit e939396
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/standards-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ jobs:

- name: Trigger Bedrock Update
if: github.ref == 'refs/heads/dev' && matrix.experimental == false
uses: pressbooks/composer-autoupdate-bedrock@v1
with:
triggered-by: ${{ github.repository }}
token: ${{ secrets.PAT_COMPOSER_UPDATE }}
uses: pressbooks/composer-autoupdate-bedrock@main
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 e939396

Please sign in to comment.