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: |