Skip to content

Commit

Permalink
fix(ci): Use proper context var in deploy conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser authored Nov 6, 2024
1 parent 983f3e2 commit 75552c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
path: ${{ env.build_output_dir }}/documentation/dirhtml

deploy:
#if: ${{ success() && github.event_name == 'push' && github.ref == 'trunk' }}
if: ${{ !cancelled && github.event_name == 'push' && github.ref_name == 'trunk' }}
permissions:
contents: read
pages: write
Expand Down

0 comments on commit 75552c9

Please sign in to comment.