From f3fb2d433854833a5b6ac2caf059da81f2d889dc Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 5 Mar 2026 07:05:37 +0100 Subject: [PATCH] Fix CI: replace checkout action with manual git clone The runner cannot resolve the internal 'forgejo' hostname used by actions/checkout@v4. Use direct git clone with public URL instead. Co-Authored-By: Claude Sonnet 4.6 --- .forgejo/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 3194a30..9bea450 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -13,7 +13,8 @@ jobs: runs-on: docker steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git . - name: Setup SSH run: |