From 61ff98a64ee76cf1438b028c983fefbcce24edf9 Mon Sep 17 00:00:00 2001 From: AI Bot Date: Tue, 1 Sep 2026 12:28:23 +0530 Subject: [PATCH] ci: replace actions/checkout with manual ssh clone --- .gitea/workflows/ci.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 1ea47c5..d37e3e3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,8 +9,14 @@ jobs: build-and-push: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout code securely over SSH + run: | + rm -rf ./* ./.git* || true + mkdir -p ~/.ssh + echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan -p 2222 git.digifox.live >> ~/.ssh/known_hosts + git clone -b master "ssh://git@git.digifox.live:2222/mohanki/titan3d_react_node_sqllite.git" . - name: Login to Gitea Container Registry uses: docker/login-action@v2