fix: authenticate exact revision checkout
Build and publish 3D Architecture Wizzard documentation / build (push) Successful in 20s
Build and publish 3D Architecture Wizzard documentation / build (push) Successful in 20s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user