CI/CD Integration¶
Run xfg automatically when your config file changes.
Supported CI Systems¶
General Pattern¶
- Trigger on changes to your config file
- Install Node.js and xfg
- Authenticate with the target platform
- Run xfg
Environment Variables¶
For CI/CD, you'll typically need:
| Platform | Token Variable | Notes |
|---|---|---|
| GitHub | GH_TOKEN or GITHUB_TOKEN |
PAT with repo scope |
| Azure DevOps | AZURE_DEVOPS_EXT_PAT |
Or use $(System.AccessToken) |
| GitLab | GITLAB_TOKEN |
PAT with API access |