This commit is contained in:
parent
f968a0a242
commit
f5f6569051
@ -8,8 +8,7 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: |
|
run: |
|
||||||
$branch = "${{ github.ref }}" -replace '^refs/heads/', ''
|
$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 https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git .
|
||||||
git clone --depth 1 --branch=$branch $url .
|
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user