Troubleshooting
gh is not installed
Install GitHub CLI, then retry:
gh auth loginSee GitHub Setup.
gh is not authenticated
The GitHub provider calls gh auth status. Run:
gh auth loginSee GitHub Setup.
Missing GITLAB_TOKEN
Set GITLAB_TOKEN before using the GitLab provider.
See GitLab Setup.
Missing CI_PROJECT_ID
Set CI_PROJECT_ID to the GitLab project ID.
See GitLab Setup.
No .env files found
Check the selected environment:
env-sync --env=production--env=production selects .env.production.
You can also use explicit single-file mode:
env-sync --env-file=packages/blog/.envInvalid GitHub secret name
GitHub names must match:
^[A-Za-z_][A-Za-z0-9_]*$Names starting with GITHUB_ are rejected.
Unexpected namespacing
Files under packages/<name> or apps/<name> are prefixed with the uppercased folder name.
See Naming.
Workflow patching did not modify expected YAML
The current patcher looks for existing env: blocks in workflow YAML and uses line-based text modification. Review your workflow file structure and run dry-run first.
Dry-run still requires auth
Current dry-run mode prevents writes but can still require provider auth and read provider state.
See Dry Run.