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 (#1675)

Rich Turner95450d66c349
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 73db9fa73..e7caba436 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -409,7 +409,7 @@ jobs:
deployments= f'{inputEnv}:{tag}'
if isMainRepo:
- if deployments and deployments.contains('-SNAPSHOT'):
+ if "-SNAPSHOT" in deployments:
os.system("SNAPSHOT manager docker images not currently supported for custom project deployment")
sys.exit(1)