Skip to content

Commit

Permalink
docs: fix docker command in README
Browse files Browse the repository at this point in the history
  • Loading branch information
heresie committed Oct 20, 2021
1 parent ebd2815 commit 01ace79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install -r requirements.txt
```

```raw
python main.py -h
$ python main.py -h
usage: main.py [-h] -f DOTENV_FILE -p REPOSITORY_NAME -e ENVIRONMENT [-k GITHUB_TOKEN]
Import dotenv files to Github Projects Environments as Secret Variables
Expand All @@ -40,7 +40,10 @@ optional arguments:
```bash
export GITHUB_TOKEN="<YOUR_PERSONAL_ACCESS_TOKEN>"

docker run --rm -v "$PWD:/dotenv" -e GITHUB_TOKEN="${GITHUB_TOKEN}" -it ghcr.io/artegeie/github-secrets-filler:latest \
docker run --rm --name github-secrets-filler \
-v "$PWD:/dotenv" \
-e GITHUB_TOKEN="${GITHUB_TOKEN}" \
-it ghcr.io/artegeie/github-secrets-filler:latest \
-f "/dotenv/<FILENAME>" \
-p "<DESTINATION REPOSITORY>" \
-e "<DESTINATION ENVIRONMENT>"
Expand Down

0 comments on commit 01ace79

Please sign in to comment.