build: Added lfs workaround
Some checks failed
Build Gameflow Site / build (push) Failing after 52s

This commit is contained in:
Simeon Radivoev 2026-05-07 00:01:26 +03:00
parent 2b5bb39391
commit 6397fd88c9
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A

View file

@ -15,7 +15,16 @@ jobs:
- name: Checkout your repository using git - name: Checkout your repository using git
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
lfs: true persist-credentials: "true"
- name: Checkout lfs
run: |
git lfs install --local
AUTH=$(git config --local http.${{ forge.server_url }}/.extraheader)
git config --local --unset http.${{ forge.server_url }}/.extraheader
git config --local http.${{ forge.server_url }}/${{ forge.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Install, build, and upload your site - name: Install, build, and upload your site
uses: https://github.com/withastro/action@main uses: https://github.com/withastro/action@main
env: env: