fix checkou.
Some checks failed
Some checks failed
This commit is contained in:
parent
e9ec8ece00
commit
14dd4c8ee6
@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: |
|
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 clone --depth 1 --branch=$branch https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user