Skip to content

Commit

Permalink
Replace all references to --key-base64 with --base64-key
Browse files Browse the repository at this point in the history
  • Loading branch information
Link- authored Nov 10, 2023
1 parent 96ddb44 commit 6f3aac7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $ gh token generate \

```shell
$ gh token generate \
--key-base64 $(printf "%s" $APP_KEY | base64) \
--base64-key $(printf "%s" $APP_KEY | base64) \
--app-id 1122334 \
--installation-id 5566778
Expand All @@ -133,7 +133,7 @@ $ gh token generate \

```shell
$ gh token generate \
--key-base64 $(printf "%s" $APP_KEY | base64) \
--base64-key $(printf "%s" $APP_KEY | base64) \
--app-id 1122334 \
--installation-id 5566778 \
--hostname "github.example.com"
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- name: "Create access token"
run: |
token=$(gh token generate \
--key-base64 $(printf "%s" "$APP_PRIVATE_KEY" | base64 -w 0) \
--base64-key $(printf "%s" "$APP_PRIVATE_KEY" | base64 -w 0) \
--app-id $APP_ID \
--hostname "github.example.com" \
| jq -r ".token")
Expand Down

0 comments on commit 6f3aac7

Please sign in to comment.