Skip to content

Commit 2514c2d

Browse files
authored
fix(ci): publish docs on every release (#889)
1 parent efec906 commit 2514c2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
outputs:
1717
paths_released: ${{ steps.release.outputs.paths_released }}
18+
releases_created: ${{ steps.release.outputs.releases_created }}
1819
steps:
1920
- uses: googleapis/release-please-action@v5
2021
id: release
@@ -48,8 +49,7 @@ jobs:
4849
- run: pnpm -r --filter './packages/**' publish --access=public
4950
docs:
5051
needs: release
51-
# Only publish docs if the synapse-sdk package is released (manual publish is possible from the GitHub UI)
52-
if: |
53-
contains(fromJson(needs.release.outputs.paths_released), 'packages/synapse-sdk')
52+
# Publish docs when any package is released (manual publishing is also available from the GitHub UI)
53+
if: needs.release.outputs.releases_created == 'true'
5454
uses: ./.github/workflows/docs.yml
5555
secrets: inherit

0 commit comments

Comments
 (0)