File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments