From c9e66bf8c837f9208c7769141d6a0d01876d6866 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 17 Jul 2024 13:49:09 -0400 Subject: [PATCH] Add `publish-docs` to release workflow (#5153) ## Summary Forgot to add this here. Just kicked it off manually for the last release. --- .github/workflows/release.yml | 9 +++++++++ Cargo.toml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 570ee9970..ef64dd8de 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 812deb841..df29b5dac 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