ready for testing

This commit is contained in:
Stephen Kirby
2023-09-29 15:44:31 +00:00
parent aac27055e6
commit c0f035e5e0
2 changed files with 5 additions and 7 deletions

View File

@@ -1,11 +1,10 @@
#!/usr/bin/env sh
# Logs the coder user in
echo "Logging into Coder..."
# Automatically authenticate the user if they are not
# logged in to another deployment
echo "Logging into Coder..."
if ! coder list >/dev/null 2>&1; then
set +x; coder login --token=$CODER_USER_TOKEN --url=$CODER_DEPLOYMENT_URL
else