diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 570ee997000c..ef64dd8dece4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -253,3 +253,12 @@ jobs: echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/* + + custom-publish-docs: + needs: + - plan + - announce + uses: ./.github/workflows/publish-docs.yml + with: + plan: ${{ needs.plan.outputs.val }} + secrets: inherit diff --git a/Cargo.toml b/Cargo.toml index 812deb8416aa..df29b5dac807 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -261,6 +261,8 @@ build-local-artifacts = false local-artifacts-jobs = ["./build-binaries", "./build-docker"] # Publish jobs to run in CI publish-jobs = ["./publish-pypi"] +# Announcement jobs to run in CI +post-announce-jobs = ["./publish-docs"] # Custom permissions for GitHub Jobs github-custom-job-permissions = { "build-docker" = { packages = "write", contents = "read" } } # Whether to install an updater program