Skip to content

Commit

Permalink
fix: wrong conditional CI run for deploy doc
Browse files Browse the repository at this point in the history
  • Loading branch information
christjt committed Jun 30, 2023
1 parent 2f03ec8 commit 4a433da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,15 @@ jobs:
yarn build:fast
- name: Upload documentation artifact
if: ${{ contains(github.event.pull_request.labels.*.name, 'preview-docs') }}
uses: actions/upload-artifact@v3
with:
name: preview-docs
path: documentation/build/

deploy-preview-documentation:
needs: [changes, build-preview-documentation]
if: ${{ needs.changes.outputs.should-run == 'true' || contains(github.event.pull_request.labels.*.name, 'preview-docs') }}
if: ${{ needs.changes.outputs.should-run == 'true' && contains(github.event.pull_request.labels.*.name, 'preview-docs') }}
name: Publish documentation preview
# Ensures that there only will be executed one "instance" of this operation
# across all ongoing Github Action executions
Expand Down

0 comments on commit 4a433da

Please sign in to comment.