From 38114adbcf8f3c0c683a0bd387a96cdef09a9f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 18 Feb 2024 17:03:06 +0100 Subject: [PATCH] fix(ci): Deploy condition --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 98e0893..06554eb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -45,7 +45,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build-documentation - if: ${{ github.event_name == 'push' && github.ref == 'main' }} # only run triggered by a push on main + if: ${{ github.ref == 'main' }} # only run on main branch permissions: pages: write id-token: write