diff --git a/.github/workflows/deploy-program.yml b/.github/workflows/deploy-program.yml index 9d51de9..13d58ca 100644 --- a/.github/workflows/deploy-program.yml +++ b/.github/workflows/deploy-program.yml @@ -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 @@ -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: