Skip to content

Commit ffbacc8

Browse files
committed
fix
1 parent 0377fc4 commit ffbacc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
while true; do
234234
response=$(curl -s "https://${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it/health/")
235235
commit=$(echo $response | jq -r '.version')
236-
if [ "$commit" == "${{ needs.deploy-be.outputs.githash }}" ]; then
236+
if [ "$commit" == "${{ needs.build-be.outputs.githash }}" ]; then
237237
echo "New version live"
238238
break
239239
else
@@ -377,7 +377,7 @@ jobs:
377377
while true; do
378378
response=$(curl -s "https://${{ fromJSON('["pastaporto-frontend", "frontend"]')[github.ref == 'refs/heads/main'] }}.pycon.it/api/health")
379379
commit=$(echo $response | jq -r '.version')
380-
if [ "$commit" == "${{ needs.deploy-fe.outputs.githash }}" ]; then
380+
if [ "$commit" == "${{ needs.build-fe.outputs.githash }}" ]; then
381381
echo "New version live"
382382
break
383383
else

0 commit comments

Comments
 (0)