This commit is contained in:
parent
f968a0a242
commit
f5f6569051
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user