|
|
@ -82,7 +82,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
# Authenticate with Vault
|
|
|
|
# Authenticate with Vault
|
|
|
|
printf "🔑 Authenticating with Vault ...\n\n"
|
|
|
|
printf "🔑 Authenticating with Vault ...\n\n"
|
|
|
|
GITHUB_TOKEN=$(coder external-auth access-token "${GITHUB_EXTERNAL_AUTH_ID})"
|
|
|
|
GITHUB_TOKEN=$(coder external-auth access-token "${GITHUB_EXTERNAL_AUTH_ID}")
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
printf "Authentication with Vault failed. Please check your credentials.\n"
|
|
|
|
printf "Authentication with Vault failed. Please check your credentials.\n"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|