Skip to content

Commit 0377fc4

Browse files
committed
fix
1 parent 86a3ed2 commit 0377fc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ jobs:
231231
- name: Wait stable deployment
232232
run: |
233233
while true; do
234-
response=$(curl -s "https://${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it/health")
235-
commit=$(echo $response | jq -r '.commit')
234+
response=$(curl -s "https://${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it/health/")
235+
commit=$(echo $response | jq -r '.version')
236236
if [ "$commit" == "${{ needs.deploy-be.outputs.githash }}" ]; then
237237
echo "New version live"
238238
break
@@ -376,7 +376,7 @@ jobs:
376376
run: |
377377
while true; do
378378
response=$(curl -s "https://${{ fromJSON('["pastaporto-frontend", "frontend"]')[github.ref == 'refs/heads/main'] }}.pycon.it/api/health")
379-
commit=$(echo $response | jq -r '.commit')
379+
commit=$(echo $response | jq -r '.version')
380380
if [ "$commit" == "${{ needs.deploy-fe.outputs.githash }}" ]; then
381381
echo "New version live"
382382
break

0 commit comments

Comments
 (0)