Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Docs

on:
release:
types: [published]
types: [released]

permissions:
id-token: write
Expand All @@ -12,8 +12,6 @@ jobs:
update-blobl-playground-modules:
name: Update Bloblang playground modules
runs-on: ubuntu-latest
# Skip prereleases and drafts
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
steps:
- uses: aws-actions/configure-aws-credentials@v5
with:
Expand All @@ -33,8 +31,6 @@ jobs:
update-rpcn-connector-docs:
name: Generate RPCN connector docs
runs-on: ubuntu-latest
# Skip prereleases and drafts
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
steps:
- uses: aws-actions/configure-aws-credentials@v5
with:
Expand All @@ -50,3 +46,22 @@ jobs:
token: ${{ env.ACTIONS_BOT_TOKEN }}
repository: redpanda-data/rp-connect-docs
event-type: generate-rpcn-docs

test-cookbook-examples:
name: Test cookbook examples
runs-on: ubuntu-latest
steps:
- uses: aws-actions/configure-aws-credentials@v5
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
- uses: peter-evans/repository-dispatch@v4
with:
token: ${{ env.ACTIONS_BOT_TOKEN }}
repository: redpanda-data/rp-connect-docs
event-type: test-cookbook-examples