diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index da95f07382..04be5e7ef4 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -29,12 +29,12 @@ jobs: run: | PREVIEW_URL="https://deploy-preview-${{ github.event.pull_request.number }}--expressjscom-preview.netlify.app" echo "PREVIEW_URL=$PREVIEW_URL" >> "$GITHUB_ENV" - MAX_RETRIES=12 + MAX_RETRIES=10 DELAY=10 echo "Checking Netlify preview: $PREVIEW_URL" for i in $(seq 1 $MAX_RETRIES); do - if curl -s --head --max-time 5 "$PREVIEW_URL" | grep "200 OK" > /dev/null; then + if curl -s -I "$PREVIEW_URL" | grep "HTTP/.* 200" > /dev/null; then echo "✅ Preview is live!" echo "skip_lighthouse=false" >> "$GITHUB_ENV" exit 0 diff --git a/_data/en/menu.yml b/_data/en/menu.yml index 456e4bf96d..de6f851575 100644 --- a/_data/en/menu.yml +++ b/_data/en/menu.yml @@ -1,6 +1,3 @@ -# Home -home: Home - # Getting started getting_started: Getting started installing: Installing diff --git a/_includes/header.html b/_includes/header.html index 0097cdf71f..b000605958 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -12,11 +12,6 @@