From 3c74b470e8857a1ee69288b08d5ef157d2be32ad Mon Sep 17 00:00:00 2001 From: Taekyu Date: Sun, 24 Apr 2022 22:46:43 +0900 Subject: [PATCH] bugfix. change privilege to public --- github_repo/create-cluster-repo.yaml | 4 ++-- github_repo/create-contract-repo.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/github_repo/create-cluster-repo.yaml b/github_repo/create-cluster-repo.yaml index 62271899..d1d4cfc8 100644 --- a/github_repo/create-cluster-repo.yaml +++ b/github_repo/create-cluster-repo.yaml @@ -29,8 +29,8 @@ spec: - | echo $TOKEN | gh auth login --with-token - gh repo create ${USERNAME}/${CLUSTER_ID} --private --confirm - gh repo create ${USERNAME}/${CLUSTER_ID}-manifests --private --confirm + gh repo create ${USERNAME}/${CLUSTER_ID} --public --confirm + gh repo create ${USERNAME}/${CLUSTER_ID}-manifests --public --confirm git clone https://$(echo -n $TOKEN)@github.com/${USERNAME}/${CONTRACT_ID}.git diff --git a/github_repo/create-contract-repo.yaml b/github_repo/create-contract-repo.yaml index 0d194d52..8360b717 100644 --- a/github_repo/create-contract-repo.yaml +++ b/github_repo/create-contract-repo.yaml @@ -28,7 +28,7 @@ spec: gh repo list ${USERNAME} echo "===== Create and initialize ${USERNAME}/${CONTRACT_ID} site and manifests repositories =====" - gh repo create ${USERNAME}/${CONTRACT_ID} --private --confirm + gh repo create ${USERNAME}/${CONTRACT_ID} --public --confirm cd ${CONTRACT_ID} echo -n ${TOKEN} | gh secret set API_TOKEN_GITHUB