Skip to content

Commit

Permalink
chore: Fix if condition in GitHub workflows to compare string values
Browse files Browse the repository at this point in the history
  • Loading branch information
codemile committed Jun 1, 2024
1 parent 4dd49e8 commit fd01b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd01b93

Please sign in to comment.