This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 8622e40eb83 fix gh token (#233)
8622e40eb83 is described below
commit 8622e40eb833f1126c5e06d4568f369776a55f30
Author: Li Li <[email protected]>
AuthorDate: Wed Sep 28 10:52:53 2022 +0800
fix gh token (#233)
---
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"