From 97dbe32354c137d13714420ab82012a9291d8139 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Sun, 4 Jan 2026 15:13:54 +0000 Subject: [PATCH] fix(ci): replace actions/checkout with git clone for Alpine compatibility Alpine doesn't have Node.js by default, and actions/checkout requires it. Using native git clone instead - simpler and KISS approach. --- .gitea/workflows/deploy-seedbox.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-seedbox.yml b/.gitea/workflows/deploy-seedbox.yml index b74bd6b..d0909dd 100644 --- a/.gitea/workflows/deploy-seedbox.yml +++ b/.gitea/workflows/deploy-seedbox.yml @@ -22,14 +22,14 @@ jobs: run: apk add --no-cache openssh-client git - name: Checkout repository - uses: actions/checkout@v4 + run: | + git clone --depth 1 --branch main https://gitea.arnodo.fr/Damien/infra-scripts.git . - name: Setup SSH key run: | mkdir -p ~/.ssh echo "${{ secrets.SEEDBOX_SSH_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 - # Trust the seedbox host ssh-keyscan -H seedbox.taila5ad8.ts.net >> ~/.ssh/known_hosts 2>/dev/null || true - name: Validate compose files (PR only)