fix checkou.
Some checks failed
Build Applications / PullDocker (push) Successful in 4s
Windows CI / build (push) Successful in 3m37s
Build Applications / Build (push) Successful in 2m18s
Deploy Release / Build (push) Successful in 2m21s
Release tag / build (push) Failing after 13m50s

This commit is contained in:
amass 2024-11-05 23:43:18 +08:00
parent e9ec8ece00
commit 14dd4c8ee6

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: Clone repository
run: |
$branch = "${{ github.ref }}" -replace '^refs/heads/', ''
$branch = "${{ github.ref }}" -replace '^refs/tags/', ''
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