Skip to content

Commit 7b9bee0

Browse files
authored
Fix GitHub Action
1 parent ad762c0 commit 7b9bee0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/get-cloud-api-spec.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
token: ${{ env.ACTIONS_BOT_TOKEN }}
3636

3737
- name: Get commit SHA and build URL
38+
working-directory: redpanda-docs
3839
id: commit-info
3940
run: |
4041
COMMIT_SHA="${{ github.event.client_payload.commit_sha }}"
@@ -43,10 +44,12 @@ jobs:
4344
echo "COMMIT_URL=${COMMIT_URL}" >> $GITHUB_ENV
4445
4546
- name: Install dependencies
47+
working-directory: redpanda-docs
4648
run: |
4749
npm install
4850
4951
- name: Run the script and save the output
52+
working-directory: redpanda-docs
5053
run: |
5154
npx doc-tools fetch -o redpanda-data -r cloudv2 -p proto/gen/openapi/openapi.controlplane.prod.yaml -d ../../modules/ROOT/attachments cloud-controlplane-api.yaml
5255
npx doc-tools fetch -o redpanda-data -r cloudv2 -p proto/gen/openapi/openapi.dataplane.prod.yaml -d ../../modules/ROOT/attachments cloud-dataplane-api.yaml
@@ -64,4 +67,4 @@ jobs:
6467
This PR updates the OpenAPI spec file for the Cloud API.
6568
Triggered by commit: [${{ env.COMMIT_SHA }}](${{ env.COMMIT_URL }})
6669
labels: auto-docs
67-
reviewers: JakeSCahill, kbatuigas
70+
reviewers: JakeSCahill, kbatuigas

0 commit comments

Comments
 (0)