From 229c4c01706e6507e642933a1edb3c011ee8e70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Tue, 5 May 2026 10:38:36 +0200 Subject: [PATCH] Fix gh-pages publish authentication --- .github/workflows/publish-wasm-extension-artifact.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-wasm-extension-artifact.yml b/.github/workflows/publish-wasm-extension-artifact.yml index bf8bd1ab..3b93b8e6 100644 --- a/.github/workflows/publish-wasm-extension-artifact.yml +++ b/.github/workflows/publish-wasm-extension-artifact.yml @@ -236,7 +236,8 @@ jobs: pages_dir="$(mktemp -d)" git init "$pages_dir" git -C "$pages_dir" remote add origin "https://github.com/${GITHUB_REPOSITORY}.git" - git -C "$pages_dir" config http.https://github.com/.extraheader "AUTHORIZATION: bearer ${GITHUB_TOKEN}" + auth_header="$(printf 'x-access-token:%s' "${GITHUB_TOKEN}" | base64 -w 0)" + git -C "$pages_dir" config http.https://github.com/.extraheader "AUTHORIZATION: basic ${auth_header}" git -C "$pages_dir" config user.name "github-actions[bot]" git -C "$pages_dir" config user.email "41898282+github-actions[bot]@users.noreply.github.com"