This is an automated email from the ASF dual-hosted git repository. urfree pushed a commit to branch fix-token in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 33b9a01d9fcd5175eba08f326b8cdaaed51d31ec Author: Li Li <[email protected]> AuthorDate: Wed Sep 28 10:52:24 2022 +0800 fix gh token Signed-off-by: Li Li <[email protected]> --- site2/tools/release-json-gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/tools/release-json-gen.sh b/site2/tools/release-json-gen.sh index 4e04d491a19..c4b256e71a0 100755 --- a/site2/tools/release-json-gen.sh +++ b/site2/tools/release-json-gen.sh @@ -51,7 +51,7 @@ do done # gh auth login, ref: https://github.com/apache/pulsar-site/blob/760f7b47f437267a3c9d71d14c73e99ba32bd1ec/site2/website-next/scripts/release-notes.sh#L31-L33 -echo "$TOKEN" > "$TOKEN_FILE" +echo "$GH_TOKEN" > "$TOKEN_FILE" gh auth login --with-token < "$TOKEN_FILE" rm "$TOKEN_FILE"
