Skip to main content
Betadocs
DocsStatusSupportPricing
  • Introduction
    • Introduction to Webgune
    • How Webgune works
    • Creating an account
    • Creating your first project
    • Exploring the dashboard
  • Deployment

    • Deploying from GitHub
    • Deploying a Docker image
    • How builds work
    • Deployments and rollback
    • Environment variables
    • Custom start command
    • Health check
    • Database migrations

    Web apps

    • Web applications
      • Supported frameworks
      • Next.js
      • React / Vite
      • Node.js
      • Python
      • PHP
      • Go

    Bots & workers

    • Discord bots
    • Workers

    Docker

    • Docker
      • Writing a Dockerfile
      • Public Docker images

    Databases

    • Databases
      • PostgreSQL
      • MySQL
      • MariaDB
      • MongoDB
      • Redis

    Observability

    • Logs and monitoring
    • Web terminal

    Scaling

    • Availability and scaling
    • Persistent volumes
    • Backups and restore
    • Sleep mode

    Platform

    • One microVM per service
    • Network and isolation
    • Platform security
    • Deploying a template
      • Template catalog
    • Free subdomains
    • Custom domains
    • Buying a domain
    • Hosting DNS for a domain bought elsewhere
    • Managing your DNS records
    • SSL certificates
    • Redirects
    • Shared projects
      • Roles and permissions
    • Real-time collaboration
    • Continuous deployment
      • The kx712.yml file
    • VS Code extension
    • Plans and pricing
    • Payments and invoices
    • Account or per-project subscription
    • API reference
    • API keys
    • Webgune CLI
    • MCP server
    • JavaScript / TypeScript SDK
    • Support tickets
    • Status page
    • AI assistant
    • FAQ
    • Limits and resources
    • Account security
    • Best practices
    • Troubleshooting

CI/CD / Continuous deployment

The kx712.yml file

Open as Markdown

kx712.yml is an optional file, placed at the root of the repository. It does two things: it filters the pushes that trigger a build, and it runs checks (tests, lint) before each release. Without this file, every push to the tracked branch triggers a build, with no checks.

The syntax resembles GitHub Actions but is not compatible with it. Only the fields described here exist.

Full example

on:
  push:
    branches: [main]          # ignore pushes to other branches
    paths: [backend/**]       # ignore a push that touches none of these files

checks:                       # run before the image is built
  - name: Tests
    run: npm ci && npm test
  - name: Lint
    run: |
      npm ci
      npm run lint -- --max-warnings=0
    image: node:22-alpine     # optional, node:22-alpine by default

Filtering triggers: on.push

FieldTypeLimitEffect
brancheslist of exact names20 branches, 120 characters eachA push to another branch is ignored
pathslist of patterns50 patterns, 255 characters eachIf no file added, modified or deleted by the push matches, nothing is triggered

paths patterns follow three rules:

PatternMatches
*Any characters within a single folder (*.md matches README.md, not docs/guide.md)
**Any characters, including folders (backend/** matches everything under backend/)
?A single character, other than /

branches names are compared as is: release/* is not a pattern and only matches a branch literally named release/*.

These filters only apply to automatic triggers (GitHub or GitLab push). A click on Redeploy, the CLI or the API always build, filters or not.

Example: monorepo

Two services follow the same repository, one for api/, the other for web/. The file is read once per repository: its filters apply to all services that follow this repository. To isolate each service, give them different branches or split the repository. A paths: [api/**, web/**, package.json] filter at least avoids builds on a documentation-only change.

Blocking a bad deployment: checks

Each check is a command, run in order, before the image is built. The first one that fails stops everything: nothing is built or deployed, and the live version stays untouched.

FieldRequiredLimitRole
nameyes80 charactersLabel shown in the build log
runyes2,000 charactersCommand run by sh, one or more lines
imageno200 charactersPublic image for the check's container, node:22-alpine by default

At most 10 checks per file.

What a check has

  • A copy of the commit's sources in /app, which is also the working directory.
  • The service's build variables: those of its build environment if it has one, otherwise its general variables (Environment variables).
  • The variables CI=1, NO_COLOR=1 and TERM=dumb.
  • Internet access to install dependencies.

A check starts from scratch on every build: no cache is kept from one build to the next, or from one check to the next. Install the dependencies in each check that needs them (npm ci && npm test).

A check is interrupted after 15 minutes (900 seconds). The build then fails with the message "Check "Tests" interrupted after 900 s".

Choosing the image

checks:
  - name: Python tests
    run: pip install -r requirements.txt && pytest
    image: python:3.12-alpine
  - name: Vet
    run: go vet ./...
    image: golang:1.23-alpine

The image must be public. An image hosted on Webgune's internal registry is refused: the build fails with the "kx712.yml rejected" check rather than going ahead without your verifications.

Reading the result

The output of each check appears in the deployment's build log, under the "CI checks" step. A successful check is marked "Check "Tests" OK". A failure gives "Check "Tests" failed: deployment canceled", followed by the command output.

The General tab of the service shows the CI Pipeline section: the detected file and the checks it declares, or "None" if there are none.

Missing or invalid file

CaseBehavior
No fileNo filter, no check: every push to the tracked branch builds
Unreadable YAML or field outside the schema (jobs:, steps:, 11 checks...)The whole file is ignored: no filter, no check, deployment proceeds normally
Invalid or internal check imageThe build fails, nothing is deployed

An invalid file therefore does not block deployment: your checks simply do not run. After each change, verify in the build log that the "CI checks" step appears, or use Check automatic deployment on the General tab (Continuous deployment).

Good to know

  • The file is read at the commit being built: a change to checks applies from the commit that introduces it.
  • Checks also run on a manual Redeploy, only the filters are ignored.
  • For long tests, a version matrix or artifacts, keep your usual CI. kx712.yml is the last check before release.

Updated on November 20, 2026

Continuous deploymentPreviousVS Code extensionNext

On this page

Full exampleFiltering triggers: on.pushExample: monorepoBlocking a bad deployment: checksWhat a check hasChoosing the imageReading the resultMissing or invalid fileGood to know
© 2026 WebguneBack to the site