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 .