fix: respect selected branch when cloning the files
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
shell: sh
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git clone --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git
|
||||
git clone -b ${{ gitea.ref_name }} --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git
|
||||
- name: Login to registry
|
||||
shell: sh
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user