From 719b35c4b4a0faeee5f5124b46447bf14cb95ac8 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 20 Jul 2024 13:28:44 +0200 Subject: [PATCH] fixup! Add CI workflow --- .forgejo/workflows/build.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 18333d0..bb8c011 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -18,12 +18,13 @@ jobs: uses: actions/checkout@v4 - name: Checkout LFS run: | - cat .git/config - #git config --unset "http.${GITHUB_SERVER_URL}/.extraHeader" - #cat .git/config + # You have the choice: + # Either it sets the Authorization header twice (which git-lfs does not accept) + # or it sets it not at all. + # As the repository is public, the latter case is acceptable. + git config --unset "http.${GITHUB_SERVER_URL}/.extraHeader" git lfs install --local - git -c "http.${GITHUB_SERVER_URL}/.extraHeader=" lfs pull - head -c 512 static/vendor/bootstrap.min.css + git lfs pull - name: Build run: nix build -L .#li7y .#li7y-oci - name: Push OCI image