Bitbucket Pipelines
SEO guard in your Bitbucket pipeline.
Indxel integrates with Bitbucket Pipelines through your bitbucket-pipelines.yml. Add a step after your build to validate SEO and fail the pipeline when metadata breaks.
1.Add to bitbucket-pipelines.yml
yaml
image: node:20
pipelines:
default:
- step:
name: Build
caches:
- node
script:
- npm ci
- npm run build
artifacts:
- .next/**
- step:
name: SEO Check
script:
- npx indxel check --ci2.Crawl a deployed URL
yaml
- step:
name: SEO Crawl
script:
- npx indxel crawl https://staging.example.com --ci --push --api-key $INDXEL_API_KEYWhy use Indxel with Bitbucket Pipelines
- ✓Block merges that introduce SEO regressions in Bitbucket pull requests
- ✓Validate metadata across all pages after every build automatically
- ✓Get clear 0-100 scores and pass/fail status in your pipeline logs
- ✓Crawl deployed staging URLs to catch runtime SEO issues before production
Frequently asked questions
Does the SEO check slow down my pipeline?
The static check runs in 2-5 seconds for most projects. It analyzes your build output without needing a running server. The crawl mode for live URL validation takes longer but can run as a separate pipeline step.
Can I run it only on pull requests?
Yes. Configure the SEO check step to run only in your pull-request pipeline. Use the --diff flag to validate only changed pages for even faster feedback.