docs: add coder login to CI docs (#9038)

* docs: add coder login to CI docs

* add CODER_URL

* add --url flag to login cmd
This commit is contained in:
Eric Paulsen
2023-08-11 20:55:55 +00:00
committed by GitHub
parent d2a9049fd7
commit 6af6e85fe3
+1
View File
@@ -20,6 +20,7 @@ export CODER_TEMPLATE_DIR=.coder/templates/kubernetes
export CODER_TEMPLATE_VERSION=$(git rev-parse --short HEAD)
# Push the new template version to Coder
coder login --url $CODER_URL --token $CODER_SESSION_TOKEN
coder templates push --yes $CODER_TEMPLATE_NAME \
--directory $CODER_TEMPLATE_DIR \
--name=$CODER_TEMPLATE_VERSION # Version name is optional