From f9d22cbe39d5c21902008cd162f5b4098ceafc89 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 5 Feb 2026 23:29:52 +0100 Subject: [PATCH] ci: Use curl/tar for deploy checkout (host has no git) --- .gitea/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 4224995..17e3dfe 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -119,8 +119,9 @@ jobs: steps: - name: Checkout run: | - git clone --depth=1 --branch=${{ github.ref_name }} \ - https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . + curl -sL -H "Authorization: token ${{ github.token }}" \ + "https://git.mymx.me/api/v1/repos/${{ github.repository }}/archive/${{ github.ref_name }}.tar.gz" \ + | tar -xz --strip-components=1 - name: Build firmware run: |