From fd01b93082651f0c82865fdbe5be0cbb3c9514e3 Mon Sep 17 00:00:00 2001 From: codemile Date: Sat, 1 Jun 2024 16:31:00 -0400 Subject: [PATCH] chore: Fix if condition in GitHub workflows to compare string values --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd15740..ac96126 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,7 +95,7 @@ jobs: build: runs-on: ubuntu-latest needs: [ install ] - if: ${{ github.event.inputs.testOnly == false }} + if: ${{ github.event.inputs.testOnly == 'false' }} steps: - name: "📥 Checkout code" uses: actions/checkout@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5e2f0a5..e07d210 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,7 +64,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: [ artifacts ] - if: ${{ github.event.inputs.skipDeploy == false }} + if: ${{ github.event.inputs.skipDeploy == 'false' }} steps: - name: "🚀 Deploy to GitHub Pages" id: deployment