From d0389ebe30cdfe4cbf69f0487117292cc27f8dd5 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Thu, 26 May 2022 21:56:01 +0100 Subject: [PATCH] docs: Update Github CLI access token location (#285) It looks like the gh cli has changed where it stores the token. I'm not totally sure about this change - I'm sure it might not work properly with on-prem github installations, but then I'm not sure if the original config did either. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af4ba9e..c274c45 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ docker run \ You can also use Personal Access Token from [the GitHub CLI](https://github.com/cli/cli) to run the application: ```shell -export GITHUB_TOKEN=$(grep oauth_token ~/.config/gh/config.yml| cut -d ":" -f 2 | sed "s/ //g") +export GITHUB_TOKEN=$(grep oauth_token ~/.config/gh/hosts.yml| cut -d ":" -f 2 | sed "s/ //g") docker build --tag=tp . docker run \ --rm \