We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 301bf77 + 0f96606 commit 6dbd99bCopy full SHA for 6dbd99b
.github/workflows/auth.yml
@@ -69,7 +69,7 @@ jobs:
69
echo "JSON_PAYLOAD_PATH=files_payload.json" >> $GITHUB_ENV
70
71
72
- - name: 🔐 Request OIDC token from GitHub
+ - name: Request OIDC token from GitHub
73
if: env.JSON_PAYLOAD_PATH != 'empty'
74
id: fetch_token
75
run: |
@@ -83,7 +83,8 @@ jobs:
83
echo "TOKEN=$token" >> $GITHUB_ENV
84
85
# 3. Send a simple GET request to "/"
86
- - name: Send GET request to protected root endpoint
+ - name: Send GET request to check if API is live
87
+ if: env.JSON_PAYLOAD_PATH != 'empty'
88
89
90
echo " GET request"
@@ -94,6 +95,7 @@ jobs:
94
95
96
# 5. Send POST request with JSON payload to "/"
97
- name: Send POST request with JSON payload
98
99
100
echo "Sending JSON payload to API"
101
0 commit comments