From 75552c94ad1e615057c8dac2e7424adfc106ba02 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Thu, 7 Nov 2024 00:21:55 +0100 Subject: [PATCH] fix(ci): Use proper context var in deploy conditional --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b92e58..800f369 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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