Fix-2570 Updated repo path to Go module (#17) #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# This workflow triggers a build of the production docs site | |
name: Build Production Site | |
on: | |
push: | |
branches: [main] | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: configure aws credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_SM_READONLY_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SM_READONLY_SECRET_ACCESS_KEY }} | |
aws-region: us-west-2 | |
- name: get secrets from aws sm | |
uses: aws-actions/aws-secretsmanager-get-secrets@v2 | |
with: | |
secret-ids: | | |
,sdlc/prod/github/rp_connect_netlify_build_hook | |
parse-json-secrets: true | |
- name: Trigger build | |
run: curl -X POST -d {} $RP_CONNECT_NETLIFY_BUILD_HOOK |