Sync environment variables between your local .env files and GitLab CI/CD.
Run directly with Deno:
deno run -RWNE jsr:@jonashaven/envsyncOn first run, you'll be guided through connecting to your GitLab project.
Install globally to use envsync as a command:
deno install -RWNE -n envsync jsr:@jonashaven/envsyncThen run it anytime:
envsync- Scans your local
.envfiles for environment variables - Compares them with GitLab CI/CD variables in your project
- Interactively syncs missing variables in either direction
- Remembers your preferences in
.envsync.json
- Deno v2.x or later
- A GitLab project with API access (you'll need a personal access token)
MIT