From c5924dd76ad20b17f5892c881179debf5d70a499 Mon Sep 17 00:00:00 2001 From: Ola Date: Fri, 22 May 2026 21:18:13 +0200 Subject: [PATCH] ci: replace actions/checkout with raw git clone --- .gitea/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c5d214a..e999b87 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,7 +12,12 @@ jobs: build-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + run: | + git init -q + git remote add origin "https://oauth2:${{ secrets.GITEA_TOKEN }}@gitea.mystmec.com/${{ github.repository }}.git" + git fetch --depth 1 origin "${{ github.sha }}" + git checkout -q FETCH_HEAD - name: Login to Gitea Container Registry run: |