Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.12 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.12 KB

GitHub Extension env-to-repo

GitHub License GitHub Actions Workflow Status Static Badge

The extension, called 'env-to-repo', allows you to upload an .env file from your local directory to the repository secrets on GitHub. The extension checks the existence of the .env file in the current directory and whether the user has permission to access the repository.

Usage

# Use inside a folder with a .env file
gh env-to-repo <owner> <repo>

Install

gh extension install endersonmenezes/gh-env-to-repo

Upgrade Extensions

# Upgrade All with Dry Run
gh extension upgrade --all --dry-run
# Upgrade Specific with Dry Run
gh extension upgrade endersonmenezes/gh-env-to-repo --dry-run
# Upgrade All
gh extension upgrade --all
# Upgrade Specific
gh extension upgrade endersonmenezes/gh-env-to-repo