fixup! Update ci workflow to work with forgejo
Some checks failed
CI / build (push) Failing after 29s
Some checks failed
CI / build (push) Failing after 29s
This commit is contained in:
parent
0df614d885
commit
c623fd520b
1 changed files with 7 additions and 1 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -24,7 +24,13 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||||
run: |
|
run: |
|
||||||
git clone --no-checkout https://oauth2:$GITHUB_TOKEN@git.qo.is/$GITHUB_REPOSITORY .
|
mkdir ~/.config/git
|
||||||
|
cat __EOF__ >> ~/.config/git/config
|
||||||
|
[credential "$GITHUB_SERVER_URL"]
|
||||||
|
username = oauth2
|
||||||
|
helper = "!f() { test \"$1\" = get && echo \"password=$(echo "$GITHUB_TOKEN")\"; }; f"
|
||||||
|
__EOF__
|
||||||
|
git clone --no-checkout $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||||
git lfs install --local
|
git lfs install --local
|
||||||
git checkout --recurse-submodules $GITHUB_REF
|
git checkout --recurse-submodules $GITHUB_REF
|
||||||
git lfs pull
|
git lfs pull
|
||||||
|
|
Loading…
Reference in a new issue