PProoflineQA Docs
CI / CD

Provider Setup

What GitHub, GitLab, and Bitbucket each need so deployments reach ProoflineQA.

Connecting your account under Settings → Repository providers is enough. No webhook URL or token to paste. This page covers what your deployment must report.

GitHub

The Proofline GitHub App receives deployment and workflow events for the repositories you granted it.

The deployed URL. Works automatically if your host reports deployments to GitHub (Vercel, Netlify, Render, Railway). Deploying from GitHub Actions to your own server? Give the deploy job an environment with a URL:

jobs:
  deploy:
    runs-on: ubuntu-latest
    environment:
      name: Staging
      url: https://staging.example.com
    steps:
      - run: ./deploy.sh

A saved environment. Enter the Deploy workflow (its name as shown in the Actions tab) and map each branch to an environment. When that workflow succeeds on a push to a selected branch, the mapped environment is tested. Pull-request workflows are ignored.

Several workflows run on each push. Pick the one that ends with the deployment, or tests may start before the new version is live.

GitLab

Turning CI on adds a webhook to the project. The connected account needs Maintainer access. For self-managed GitLab, add your instance first (Settings → Repository providers → Self-managed).

The deployed URL. Give the deploy job an environment with a URL. Review apps work the same way, and PR previews test them for open merge requests.

deploy:
  stage: deploy
  script: ./deploy.sh
  environment:
    name: staging
    url: https://staging.example.com

A saved environment. When the branch's own pipeline succeeds, the mapped environment is tested. Merge-request, child, and tag pipelines are ignored.

Bitbucket

Bitbucket doesn't report deployment URLs, so it always uses A saved environment:

  1. Add the environment in Settings (Environments).
  2. On the CI / CD page, add the branch and pick its environment.

When the branch's Pipelines build succeeds, that environment is tested. Turning CI on adds a webhook to the repository. The connected account needs Admin access.

Tests that need to log in

Runs use the login credentials saved on one of the project's environments. Preview URLs change per deployment, so set that environment's Login URL to a path such as /login, or leave it empty. A full address would send the login to the wrong site.

Protected previews

If a host puts previews behind a login wall, every test fails with a 401. Add the header it accepts for automation under Protected deployments on the CI / CD page. It is sent only to the tested site's own address, never to other sites the page loads from.

HostHeaderWhere to get the value
Vercel Deployment Protectionx-vercel-protection-bypass (Vercel bypass adds it)Project Settings → Deployment Protection → Protection Bypass for Automation.
Cloudflare AccessCF-Access-Client-Id and CF-Access-Client-SecretZero Trust → Access → Service Auth → create a service token.
Other gatewaysThe header they document for automated accessThe gateway's settings.

Up to five headers per project, one set for all deployments. Values are stored encrypted and not shown again; leave a saved value blank to keep it.

Anyone with a bypass secret can open your protected previews. Create one just for ProoflineQA and rotate it if it leaks.

On this page