From bc6a5243d53a62cd9f5df862e79abb01f0fcde6e Mon Sep 17 00:00:00 2001 From: Gurvan Date: Tue, 18 Oct 2022 16:52:24 +0200 Subject: [PATCH] ci: fix deployments --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 483b3e66..c8f0679c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: name: Deploy docs from main branch 🚀 needs: [build, lint, test] runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' && github.ref_type == 'tag' + if: github.ref_type == 'tag' environment: name: Docs (main) @@ -100,7 +100,7 @@ jobs: name: Deploy web app from main branch 🚀 needs: [build, lint, test] runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' && github.ref_type == 'tag' + if: github.ref_type == 'tag' environment: name: Web (main) @@ -135,7 +135,7 @@ jobs: name: Deploy UI from main branch 🚀 needs: [build, lint, test] runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' && github.ref_type == 'tag' + if: github.ref_type == 'tag' environment: name: UI (main)