Checkout repo after create

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2023-04-13 07:13:10 +01:00
parent 1cd2abbcc4
commit 3df7db747b
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -61,6 +61,8 @@ echo "✨ Creating new repo $(italic ${VISIBILITY}) $(orange ${REPOSITORY_NAME})
gh repo create --${VISIBILITY} --template ${TEMPLATE} giantswarm/${REPOSITORY_NAME}
git take git@github.com:giantswarm/${REPOSITORY_NAME}.git
if [ -d helm/APP-NAME ]; then
mv 'helm/{APP-NAME}' helm/${REPOSITORY_NAME}
fi