From 40ef106dda14c1580a5a5e4fafb5012d39b32f5a Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Thu, 25 Jun 2026 13:32:14 +0530 Subject: [PATCH] ci: Use git commands instead of checkout action --- .gitea/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ed8de7a..190edf1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,7 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git config --global --add safe.directory '*' + rm -rf * .git || true + git clone --depth 1 $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git . - name: Build Docker Image run: docker build -t bootstrap-auth-server:latest .