Skip to main content

Continuous Launch Protection

Automated Monitoring & CI Pre-Deploy Gate

Catch SSL expirations, newly broken links, accidental noindex tags, or exposed source maps after launch — and gate GitHub Pull Requests before bad builds reach production.

PREVLIX Pro Feature: Active website monitoring and threshold alerts require PREVLIX Pro.
Upgrade to Pro
Add Monitored Website
No monitored websites yet. Add a URL above to track launch readiness continuously.
GitHub Actions PR Gate

Drop into .github/workflows/prevlio-gate.yml to block pull requests if your staging preview drops below your readiness score.

name: PREVLIX Pre-Launch Readiness Gate

on:
  pull_request:
  workflow_dispatch:

jobs:
  prevlio-readiness-check:
    runs-on: ubuntu-latest
    steps:
      - name: Run PREVLIX Readiness Scan
        env:
          PREVLIO_API_URL: ${{ secrets.PREVLIO_API_URL }}
          TARGET_URL: "https://your-preview.vercel.app"
          MIN_SCORE: "80"
        run: |
          RESPONSE=$(curl -sS -X POST "${PREVLIO_API_URL}/api/scan" \
            -H "Content-Type: application/json" \
            -d "{\"url\":\"${TARGET_URL}\"}")
          SCORE=$(echo "$RESPONSE" | jq -r '.report.overallScore // 0')
          FAILED=$(echo "$RESPONSE" | jq -r '.report.statusCounts.failed // 0')
          echo "PREVLIX Readiness Score: ${SCORE}/100 (Failed checks: ${FAILED})"
          if [ "$SCORE" -lt "$MIN_SCORE" ]; then
            echo "Deployment blocked: score ${SCORE} is below threshold ${MIN_SCORE}."
            exit 1
          fi
Continuous Website Monitoring & CI Gate | PREVLIX