From e170345fdd5e4401b002df059b034fe555774bd2 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 30 Mar 2026 09:29:42 +0000 Subject: [PATCH] fix: revert to git clone instead of checkout --- .gitea/workflows/test.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index c2b25c9..c9c4ff1 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -23,10 +23,7 @@ jobs: docker_folder_changed: ${{ steps.docker_folder.outputs.changed }} steps: - name: Checkout Repository - uses: actions/checkout@v4 - with: - ref: ${{ gitea.ref_name }} - token: ${{ secrets.REPO_TOKEN }} + run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Check Latest Hugo Version id: get_latest @@ -81,10 +78,7 @@ jobs: shell: sh steps: - name: Checkout Repository - uses: actions/checkout@v4 - with: - ref: ${{ gitea.ref_name }} - token: ${{ secrets.REPO_TOKEN }} + run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Build Docker Image run: |