diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 91828b5..67467ff 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -22,7 +22,7 @@ jobs: test -n "$REVISION" git init . git remote add origin '${{ gitea.server_url }}/${{ gitea.repository }}.git' - git -c http.extraheader="Authorization: token ***" fetch --depth=1 origin "$REVISION" + git -c http.extraheader="Authorization: token $GIT_AUTH_TOKEN" fetch --depth=1 origin "$REVISION" git checkout --detach FETCH_HEAD test "$(git rev-parse HEAD)" = "$REVISION" - name: Install pnpm