Merge pull request #210 from cloud-neutral-workshop/codex/fix-repository-format-in-workflow
Use git clone for GitOps config checkout
This commit is contained in:
commit
88328c17bd
@ -50,11 +50,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout GitOps config
|
- name: Checkout GitOps config
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone --branch "${{ github.event.inputs.gitops_repo_ref || 'main' }}" \
|
||||||
path: ${{ env.TG_ROOT }}/gitops
|
--depth 1 "${{ env.GITOPS_REPO }}" "${{ env.TG_ROOT }}/gitops"
|
||||||
repository: ${{ env.GITOPS_REPO }}
|
|
||||||
ref: ${{ github.event.inputs.gitops_repo_ref || 'main' }}
|
|
||||||
|
|
||||||
- name: Document Bootstrap Scope
|
- name: Document Bootstrap Scope
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user