Skip to content

Commit

Permalink
🐛FIX: debug conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
tallguyjenks committed Jul 22, 2024
1 parent 2c6e141 commit 3d06d78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-deployment-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
echo "PROJECT_ID=$PROJECT_ID" >> $GITHUB_OUTPUT
- name: DEBUG - PROJECT_ID
if: env.debug == true
if: ${{ github.event.inputs.debug == 'true' }}
run: echo "PROJECT_ID = ${{steps.project-id.outputs.PROJECT_ID}}"

- name: Get issue ID
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
echo "ISSUE_ID=$ISSUE_ID" >> $GITHUB_OUTPUT
- name: DEBUG - ISSUE_ID
if: env.debug == true
if: ${{ github.event.inputs.debug == 'true' }}
run: echo "ISSUE_ID = ${{steps.issue-id.outputs.ISSUE_ID}}"

- name: Get field ID
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
echo "FIELD_ID_VERSION=$FIELD_ID_VERSION" >> $GITHUB_OUTPUT
- name: DEBUG - FIELD_ID
if: env.debug == true
if: ${{ github.event.inputs.debug == 'true' }}
run: |
echo "FIELD_ID_ENVIRONMENT = ${{steps.field-id.outputs.FIELD_ID_ENVIRONMENT}}"
echo "FIELD_ID_VERSION = ${{steps.field-id.outputs.FIELD_ID_VERSION}}"
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
echo "FIELD_ENVIRONMENT_OPTION_ID=$FIELD_ENVIRONMENT_OPTION_ID" >> $GITHUB_OUTPUT
- name: DEBUG - FIELD_ENVIRONMENT_OPTION_ID
if: env.debug == true
if: ${{ github.event.inputs.debug == 'true' }}
run: echo "FIELD_ENVIRONMENT_OPTION_ID = ${{steps.environment-option-id.outputs.FIELD_ENVIRONMENT_OPTION_ID}}"

- name: Update Deployment Issue Environment Field
Expand Down

0 comments on commit 3d06d78

Please sign in to comment.