Skip to content

Commit 6f3aac7

Browse files
authored
Replace all references to --key-base64 with --base64-key
1 parent 96ddb44 commit 6f3aac7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ $ gh token generate \
112112

113113
```shell
114114
$ gh token generate \
115-
--key-base64 $(printf "%s" $APP_KEY | base64) \
115+
--base64-key $(printf "%s" $APP_KEY | base64) \
116116
--app-id 1122334 \
117117
--installation-id 5566778
118118
@@ -133,7 +133,7 @@ $ gh token generate \
133133

134134
```shell
135135
$ gh token generate \
136-
--key-base64 $(printf "%s" $APP_KEY | base64) \
136+
--base64-key $(printf "%s" $APP_KEY | base64) \
137137
--app-id 1122334 \
138138
--installation-id 5566778 \
139139
--hostname "github.example.com"
@@ -265,7 +265,7 @@ jobs:
265265
- name: "Create access token"
266266
run: |
267267
token=$(gh token generate \
268-
--key-base64 $(printf "%s" "$APP_PRIVATE_KEY" | base64 -w 0) \
268+
--base64-key $(printf "%s" "$APP_PRIVATE_KEY" | base64 -w 0) \
269269
--app-id $APP_ID \
270270
--hostname "github.example.com" \
271271
| jq -r ".token")

0 commit comments

Comments
 (0)