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