docs(onboarding): use 'gh repo create --clone' to avoid template-copy race

Separate 'gh repo create --clone=false' + 'git clone' races with GitHub's
template content propagation. '--clone' waits for it in one step.
This commit is contained in:
ZdenekSrotyr 2026-04-21 19:10:04 +02:00
parent 3e9213bfc4
commit 0b4807a836

View file

@ -42,11 +42,13 @@ echo -n "<KEBOOLA_STORAGE_TOKEN>" | gcloud secrets create keboola-storage-token
## 3. Create private infra repo from template
Create and clone in one step (the `--clone` flag waits for the template copy to finish; cloning in two steps can race):
```bash
gh repo create <customer-org>/agnes-infra-<customer> \
--template keboola/agnes-infra-template \
--private
gh repo clone <customer-org>/agnes-infra-<customer>
--private \
--clone
cd agnes-infra-<customer>
```