1.0.1 • Published 2 years ago

@mymoons/gh-secrets-importer-2 v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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>"]