Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Rich Turner288505286e0a
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.sh
index e5f0893f1..bc73d026f 100644
--- a/.ci_cd/deploy.sh
+++ b/.ci_cd/deploy.sh
@@ -101,9 +101,11 @@ fi
# Grant SSH access to this runner's public IP on AWS
if [ "$SKIP_SSH_WHITELIST" != 'true' ]; then
+
+ source temp/aws/login.sh
+
if [ -n "$CIDR" ]; then
if [ -z "$AWS_ACCOUNT_NAME" ] && [ -z "$AWS_ACCOUNT_ID" ]; then
- source temp/aws/login.sh
echo "Account ID or name is not set so searching for it"
source temp/aws/get_account_id_from_host.sh