From 2e7252ef3281046c3c85722ccede582e5aefa1a9 Mon Sep 17 00:00:00 2001 From: Bob Evans Date: Tue, 25 Jun 2024 16:47:50 -0400 Subject: [PATCH] ci: Move the docs PR job to before api docs publish (#2300) --- .github/workflows/post-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 44748a065e..e1f4cc076b 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -36,11 +36,11 @@ jobs: - name: Get Created Tag id: get_tag run: echo "latest_tag=$(cat package.json | jq .version)" >> $GITHUB_OUTPUT - - name: Publish API Docs - run: npm run publish-docs - name: Create Docs Website PR run: node ./bin/create-docs-pr.js --tag v${{ steps.get_tag.outputs.latest_tag }} env: GITHUB_TOKEN: ${{ secrets.NODE_AGENT_GH_TOKEN }} GITHUB_USER: ${{ vars.NODE_AGENT_CI_USER_NAME }} GITHUB_EMAIL: ${{ vars.NODE_AGENT_CI_USER_EMAIL }} + - name: Publish API Docs + run: npm run publish-docs