File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,12 @@ runs:
1919 id : type
2020 shell : bash
2121 run : |
22- if [[ "${{ github.event_name}}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then
23- echo "IS_DEPLOYMENT=true" >> $GITHUB_OUTPUT
24- echo "IS_CLEANUP=false" >> $GITHUB_OUTPUT
25- else
2622 if [[ "${{ github.event_name }}" == "pull_request_target" && "${{ github.event.action }}" == "closed" ]]; then
2723 echo "IS_CLEANUP=true" >> $GITHUB_OUTPUT
2824 echo "IS_DEPLOYMENT=false" >> $GITHUB_OUTPUT
29- else
30- is_deployment=${{ toJSON(github.event_name == 'pull_request' || github.ref == 'refs/heads/main') }}
25+ elif [[ ${{ github.event_name }} == 'pull_request' || "${{ github.ref }}" == 'refs/heads/main' ]]; then
3126 echo "IS_CLEANUP=false" >> $GITHUB_OUTPUT
32- echo "IS_DEPLOYMENT=${is_deployment} " >> $GITHUB_OUTPUT
27+ echo "IS_DEPLOYMENT=true " >> $GITHUB_OUTPUT
3328 fi
3429
3530 - name : Debug
You can’t perform that action at this time.
0 commit comments