Sync environment variable file (.env) to GitHub Secrets. This CLI tool only automate GitHub CLI commands. This tool is not affiliated with GitHub.
Clone this repo 😇
You have to install GitHub CLI and login to you account.
Sync .env
in the current folder with secrets in the specified GitHub repository.
./sync_secrets.rb --repo username/your_repo
Options:
--file
: specify file path--prefix
: add a prefix to each env var
./sync_secrets.rb --file .env --repo username/your_repo --prefix DEV_