Skip to content

armgit / core

Public Imported from GitHub
0

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

Update ci_cd.yml (#1677)

Rich Turneref6de9e4a66d
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index e7caba436..073c6f2d2 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -402,13 +402,13 @@ jobs:
if eventName == 'workflow_dispatch' and refType != 'tag':
if isMainRepo:
tag=inputTag
- if inputTag is None:
+ if not inputTag:
tag='#ref'
else:
tag=managerVersion
- deployments= f'{inputEnv}:{tag}'
+ deployments=f'{inputEnv}:{tag}'
- if isMainRepo:
+ if not isMainRepo:
if "-SNAPSHOT" in deployments:
os.system("SNAPSHOT manager docker images not currently supported for custom project deployment")
sys.exit(1)