Skip to content

Commit

Permalink
use next-webapp-url for curl req domain
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaz-polymath authored Sep 28, 2023
1 parent 933f472 commit 92512fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
for i in {1..1200}; do
echo "Checking server health ($i/1200)..."
response=$(curl --silent --fail --write-out "%{http_code}" http://localhost:3000/auth/login)
response=$(curl --silent --fail --write-out "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
if [[ "$response" == "200" ]]; then
echo "Server is healthy"
# Now, shutdown the server
Expand Down

0 comments on commit 92512fd

Please sign in to comment.