fix: authenticate exact revision checkout
Build and publish 3D Architecture Wizzard documentation / build (push) Successful in 20s

This commit is contained in:
2026-08-31 10:26:02 +00:00
parent c84a10cc47
commit 73cf70f0f3
+1 -1
View File
@@ -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