From 1c86f35fded944d9b689699c4480a52debe223f9 Mon Sep 17 00:00:00 2001 From: xEsiah Date: Mon, 19 Oct 2026 19:39:49 +0200 Subject: [PATCH] ci: fetch Git LFS objects during deploy --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 435d38a..6152398 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + lfs: true - uses: actions/setup-node@v4 with: @@ -20,4 +22,11 @@ jobs: - run: npm run build + - name: Verify no LFS pointer files remain + run: | + if grep -rl "git-lfs.github.com/spec/v1" dist/; then + echo "::error::LFS pointers found in dist/ - git-lfs was not fetched." + exit 1 + fi + - run: rsync -av --delete dist/ /srv/apps/websites/coeur-ua-pam.org/