Skip to content

Commit bb7cb6b

Browse files
fix: workflow (#92)
Co-authored-by: Sergey Garin <[email protected]>
1 parent f7d7ee4 commit bb7cb6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
outputs:
14+
published: ${{ steps.changesets.outputs.published }}
1315
steps:
1416
- uses: actions/checkout@v2
1517

@@ -87,7 +89,7 @@ jobs:
8789
name: 'Prepare Docs for the Review'
8890
needs: publish
8991
runs-on: ubuntu-latest
90-
if: steps.changesets.outputs.published
92+
if: needs.publish.outputs.published == 'true'
9193
environment:
9294
name: Docs staging
9395
url: ${{ steps.publish_docs.outputs.NETLIFY_PREVIEW_URL }}

0 commit comments

Comments
 (0)