From f5f6569051762465a5b03017b0c8e65b546aee6a Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Wed, 16 Oct 2024 01:32:28 +0800 Subject: [PATCH] fix ci. --- .gitea/workflows/build_windows.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build_windows.yaml b/.gitea/workflows/build_windows.yaml index f8e5996..8c14db0 100644 --- a/.gitea/workflows/build_windows.yaml +++ b/.gitea/workflows/build_windows.yaml @@ -8,8 +8,7 @@ jobs: - name: Clone repository run: | $branch = "${{ github.ref }}" -replace '^refs/heads/', '' - $url = "https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git" - git clone --depth 1 --branch=$branch $url . + git clone --depth 1 --branch=$branch https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git . git checkout ${{ github.sha }} - name: Build and deploy run: |