Skip to content

Commit 2eb5c94

Browse files
committed
update workflow
1 parent 672150a commit 2eb5c94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/staging.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ jobs:
134134
kubectl get pods -n dev >> $GITHUB_STEP_SUMMARY
135135
export LB_NAME=$(kubectl get svc -n dev | grep akto-api-security-dashboard-${SETUP_SUFFIX} | awk -F " " '{print $4;}')
136136
echo $LB_NAME >> $GITHUB_STEP_SUMMARY
137-
echo "lb_name=http://$LB_NAME:8080" >> "$GITHUB_OUTPUT"
138-
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' ${lb_name}/metrics)" != "200" ]]; do sleep 5; done
137+
echo "lb_name=http://$LB_NAME:8080" >> $GITHUB_OUTPUT
138+
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' ${LB_NAME}:8080/metrics)" != "200" ]]; do sleep 5; done
139139
echo "Dashboard running" >> $GITHUB_STEP_SUMMARY
140140
141141
- name: setup test environment

0 commit comments

Comments
 (0)