success.
A deployment is separate from the workflow that created it, so your repository can run any CI it likes as long as something creates the deployment.
Requirements
- Access to a QA Wolf workspace
- Permission to install a GitHub App on the organization that owns the repository
Install the GitHub App
1
Enable the GitHub integration
Open Workspace settings → Integrations and enable GitHub. This installs the QA Wolf GitHub App.
2
Select the repositories that deploy
A repository the App does not cover sends nothing, so every repository whose deploys you want tested has to be selected.
3
Confirm the install
Reopen the integrations page and confirm GitHub reads as connected.
Create the deployment
Some hosting providers, Vercel among them, create deployments on their own. Otherwise the workflow creates one and marks it with a deployment status ofsuccess once the deploy finishes.
- The workflow needs
permissions: deployments: write. auto_merge: falseandrequired_contexts: []keep GitHub from refusing or deferring the deployment behind other checks.environmentdefaults toproduction. QA Wolf matches it against the workspace’s environments by alias or by slugified name, and creates a new environment when nothing matches. See Deployments.environment_url, set on the deployment status, is the address QA Wolf runs against.
success status only. A deployment left pending starts nothing.
Preview deployments
For PR testing, a preview deployment runs onpull_request, deploys ref: pullRequest.head.sha, and names its environment and environment_url per pull request. Set transient_environment: true so the environment is a preview rather than permanent.
Advanced: pass environment variables into the run
A deployment’spayload is a JSON object GitHub stores alongside the deployment for extra information about it. QA Wolf reads one convention from it: a qawolf object whose environmentVariables is a flat map of string to string. Those values override the environment’s variables for the runs this deployment requests, which is how one deploy can point its flows at a build, a tenant or a feature flag that differs from the environment’s standing configuration.
Example:
environmentVariables as a field of the report itself.