fix: checkout private gitea repo with action token
Some checks failed
Build and deploy demo app / deploy (push) Failing after 1s
Some checks failed
Build and deploy demo app / deploy (push) Failing after 1s
This commit is contained in:
parent
18fdd9176a
commit
e83e55a5f2
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" .
|
git clone "http://x-access-token:${GITHUB_TOKEN}@gitea:3000/${GITHUB_REPOSITORY}.git" .
|
||||||
git checkout "$GITHUB_SHA"
|
git checkout "$GITHUB_SHA"
|
||||||
|
|
||||||
- name: Show context
|
- name: Show context
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user