From 6f3aac7bff5b1660faa2556a043de67b766a78b6 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:03:00 +0100 Subject: [PATCH] Replace all references to --key-base64 with --base64-key --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f99341b..fc3e5e0 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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" @@ -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")