Skip to content

Commit

Permalink
Checking graphql url with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Santhosh-testsigma committed Aug 22, 2024
1 parent 578d9ca commit 39b4560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/staging-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Start Gatsby server
run: |
npm run develop &
if curl --output /dev/null --silent --head --fail http://localhost:8000/___graphql; then
if curl http://localhost:8000/___graphql; then
echo "URL exists: http://localhost:8000/___graphql"
else
echo "URL does not exist: http://localhost:8000/___graphql"
Expand Down

0 comments on commit 39b4560

Please sign in to comment.