Skip to content

Commit c8bc09c

Browse files
authored
Hook up publish job to release pipeline (#2953)
1 parent 2bd0252 commit c8bc09c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,14 @@ jobs:
269269
with:
270270
plan: ${{ needs.plan.outputs.val }}
271271
secrets: inherit
272+
273+
custom-publish-mirror:
274+
needs:
275+
- plan
276+
- announce
277+
uses: ./.github/workflows/publish-mirror.yml
278+
with:
279+
plan: ${{ needs.plan.outputs.val }}
280+
secrets: inherit
281+
permissions:
282+
"contents": "read"

dist-workspace.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ local-artifacts-jobs = ["./build-binaries", "./build-docker"]
5656
# Publish jobs to run in CI
5757
publish-jobs = ["./publish-pypi"]
5858
# Post-announce jobs to run in CI
59-
post-announce-jobs = ["./publish-docs"]
59+
post-announce-jobs = ["./publish-docs", "./publish-mirror"]
6060
# Custom permissions for GitHub Jobs
61-
github-custom-job-permissions = { "build-docker" = { packages = "write", contents = "read" } }
61+
github-custom-job-permissions = { "build-docker" = { packages = "write", contents = "read" }, "publish-mirror" = { contents = "read" } }
6262
# Whether to install an updater program
6363
install-updater = false
6464
# Path that installers should place binaries in

0 commit comments

Comments
 (0)