Skip to content

Commit

Permalink
About environment variables
Browse files Browse the repository at this point in the history
This application requires two environment variables.

- `GH_TOKEN`
- `CODECOV_TOKEN`

`GH_TOKEN` is GitHub access token. `CODECOV_TOKEN` is Codecov access token.
Add .env.sample file to the repository to make it clear.

I haven't set it up to automatically read the contents of .env yet.
  • Loading branch information
kitsuyui committed Jun 3, 2023
1 parent 717fb15 commit 076b4ed
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GH_TOKEN=ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
CODECOV_TOKEN=00000000-0000-0000-0000-000000000000
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ Cargo.lock


coverage.lcov
.env
Expand Down
1 change: 1 addition & 0 deletions .gitignore.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gibo dump Windows
gibo dump macOS
gibo dump Rust
echo 'coverage.lcov'
echo '.env'
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ A command line tool for creating and managing multiple repositories.
cargo install mure
```

## Environment variables

This application requires two environment variables.

- `GH_TOKEN`
- `CODECOV_TOKEN`

`GH_TOKEN` is GitHub access token. `CODECOV_TOKEN` is Codecov access token.

(I haven't set it up to automatically read the contents of .env yet.)

## Usage

### directory structure
Expand Down

0 comments on commit 076b4ed

Please sign in to comment.