GitHub Actions Workflow Variables
This document describes the environment variables and secrets used in the GitHub Actions workflows.
Environment Variables
These variables are set during workflow execution:
Variable | Description | Example Value |
---|---|---|
DEPLOY_ENV | Deployment environment | staging or production |
TAG_SUFFIX | Docker image tag suffix | latest or staging |
VERCEL_ARGS | Arguments for Vercel deployment | --prod |
API_URL | URL for API testing | https://api.kai.example.com |
TEST_SCRIPT | Test script to run | test:e2e |
KUBE_CONTEXT | Kubernetes context name | kubernetes-cluster1 |
Repository Secrets
These secrets need to be configured in the repository settings:
GitHub Container Registry
GITHUB_TOKEN
: GitHub token withwrite:packages
permission (automatically provided by GitHub Actions)
Kubernetes Configuration
KUBE_CONFIG_DATA
: Base64-encoded Kubernetes config
Supabase Credentials
SUPABASE_URL_PRODUCTION
: Supabase production URLSUPABASE_KEY_PRODUCTION
: Supabase production API keySUPABASE_URL_STAGING
: Supabase staging URLSUPABASE_KEY_STAGING
: Supabase staging API key
Vercel Deployment
VERCEL_TOKEN
: Vercel API tokenVERCEL_ORG_ID
: Vercel organization IDVERCEL_PROJECT_ID_CLIENT
: Vercel project ID for clientVERCEL_PROJECT_ID_ADMIN
: Vercel project ID for admin
Notifications
SLACK_WEBHOOK
: Slack notification webhook URL