Skip to content

Commit 96488d1

Browse files
authored
Trigger CRD docs automation on new releases rather than pushes to main (#548)
* Trigger CRD docs automation on new releases rather than pushes to main * Use env instead of secrets * Update dispatch-crd-docs.yml
1 parent 77cb8f1 commit 96488d1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/dispatch-crd-docs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
# This workflow triggers the action in redpanda-data/docs that
3-
# publishes the CRD specifications to the Redpanda documentation.
3+
# publishes the CRD and Helm chart specifications to the Redpanda documentation.
4+
# https://github.com/redpanda-data/docs/blob/main/.github/workflows/generate-crd.yml
45

5-
name: Trigger CRD docs
6+
name: Trigger Kubernetes reference docs
67
on:
7-
push:
8-
branches: [main]
9-
paths:
10-
- 'operator/api/**'
8+
release:
9+
types: [published]
1110
jobs:
1211
dispatch:
1312
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)