Skip to content

Commit

Permalink
chore: explicitly set --url and --token flags
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali committed Jun 7, 2023
1 parent bda3768 commit 55e892b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CODER_TEMPLATE_DIR=${CODER_TEMPLATE_DIR:-$CODER_TEMPLATE_NAME}
echo "CODER_TEMPLATE_DIR is set to ${CODER_TEMPLATE_DIR}"

# Construct push command
push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}"
push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}" --url ${CODER_ACCESS_URL} --token ${CODER_SESSION_TOKEN}

# Add version to the push command if specified
if [ -n "${CODER_TEMPLATE_VERSION}" ]; then
Expand Down

0 comments on commit 55e892b

Please sign in to comment.