Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan committed Sep 13, 2024
1 parent 5d32f23 commit eb478ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo type="release" >> $GITHUB_OUTPUT
elif [[ "${{ inputs.git_ref }}" =~ ^release/candy-machine-core@* ]]; then
echo program="candy-machine-core" >> $GITHUB_OUTPUT
echo type="relase" >> $GITHUB_OUTPUT
echo type="release" >> $GITHUB_OUTPUT
elif [[ "${{ inputs.git_ref }}" == "candy-machine-core" || "${{ inputs.git_ref }}" == "candy-guard" ]]; then
echo program="${{ inputs.program }}" >> $GITHUB_OUTPUT
echo type="ref" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
name: Program / Deploy
runs-on: ubuntu-latest
needs: [test_js, check_tag]
if: needs.test_js.result == 'success' || (needs.check_tag.result == 'success' && needs.check_tag.outputs.type == 'ref')
if: needs.test_js.result == 'success' || (needs.check_tag.result == 'success' && needs.check_tag.outputs.type == 'release')
permissions:
contents: write
steps:
Expand Down

0 comments on commit eb478ec

Please sign in to comment.