We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1499bd commit 636126bCopy full SHA for 636126b
.github/workflows/release.yaml
@@ -88,12 +88,12 @@ jobs:
88
script: |
89
const version = '${{ steps.get_version.outputs.release_version }}';
90
const ref = '${{ github.ref }}';
91
- const response = await github.rest.actions.createWorkflowDispatch({
+ // Using repository_dispatch instead of workflow_dispatch
92
+ const response = await github.rest.repos.createDispatchEvent({
93
owner: 'loft-sh',
94
repo: 'vcluster-docs',
- workflow_id: 'cli-docs.yaml',
95
- ref: 'main',
96
- inputs: {
+ event_type: 'update-cli-docs',
+ client_payload: {
97
version,
98
ref,
99
}
0 commit comments