Skip to content

Commit b6f7eef

Browse files
authored
Added github json debug (#9)
1 parent 94f3e1c commit b6f7eef

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build-deploy-backend.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ jobs:
111111
resource: dev-backend
112112
secrets: inherit
113113

114+
debug1:
115+
needs: [deploy-development]
116+
runs-on: ubuntu-latest
117+
steps:
118+
- name: Debug
119+
run: |
120+
${{ toJson(github) }} >> $GITHUB_STEP_SUMMARY
114121
115122
deploy-stage:
116123
if: ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'Stage') }}
@@ -123,6 +130,13 @@ jobs:
123130
resource: stage-backend
124131
secrets: inherit
125132

133+
debug2:
134+
needs: [deploy-stage]
135+
runs-on: ubuntu-latest
136+
steps:
137+
- name: Debug
138+
run: |
139+
${{ toJson(github) }} >> $GITHUB_STEP_SUMMARY
126140
127141
semver-tag:
128142
needs: [build,deploy-stage]
@@ -167,3 +181,11 @@ jobs:
167181
version: ${{ needs.build.outputs.image-version }}
168182
resource: prod-backend
169183
secrets: inherit
184+
185+
debug3:
186+
needs: [deploy-production]
187+
runs-on: ubuntu-latest
188+
steps:
189+
- name: Debug
190+
run: |
191+
${{ toJson(github) }} >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)