Skip to content

regen golden files

regen golden files #23

---
# This workflow triggers the action in redpanda-data/docs that
# publishes the CRD specifications to the Redpanda documentation.
name: Trigger CRD docs
on:
push:
branches: [main]
paths:
- 'operator/api/**'
jobs:
dispatch:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
,sdlc/prod/github/actions_bot_token
parse-json-secrets: true
- name: Trigger generate-crd-docs event
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ env.ACTIONS_BOT_TOKEN }}
repository: redpanda-data/docs
event-type: generate-crd-docs