Skip to content

Commit 2e7252e

Browse files
authored
ci: Move the docs PR job to before api docs publish (#2300)
1 parent d255bdd commit 2e7252e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/post-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
- name: Get Created Tag
3737
id: get_tag
3838
run: echo "latest_tag=$(cat package.json | jq .version)" >> $GITHUB_OUTPUT
39-
- name: Publish API Docs
40-
run: npm run publish-docs
4139
- name: Create Docs Website PR
4240
run: node ./bin/create-docs-pr.js --tag v${{ steps.get_tag.outputs.latest_tag }}
4341
env:
4442
GITHUB_TOKEN: ${{ secrets.NODE_AGENT_GH_TOKEN }}
4543
GITHUB_USER: ${{ vars.NODE_AGENT_CI_USER_NAME }}
4644
GITHUB_EMAIL: ${{ vars.NODE_AGENT_CI_USER_EMAIL }}
45+
- name: Publish API Docs
46+
run: npm run publish-docs

0 commit comments

Comments
 (0)