@mymoons/gh-secrets-importer-2
v1.0.1
Published
Secrets importer for github actions
Downloads
1
Keywords
Readme
Github secrets importer
This cli loads a .env
file to github repository secrets section with an environment prefix for github actions use
Installation
$ npm i -g gh-secrets-importer-2
Getting started
You must create a GitHub Personal Access Token Instructions here
You must store the token for future uses with
$ gh-secrets-importer-2 config -t <your personal token>
Now you're ready to run the importer
$ gh-secrets-importer-2 import -r "<moons-repo-name>" -e "<enviromnent>" [-p "<path to .env file>"]