Skip to content

armgit / core

Public Imported from GitHub
0

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

CI/CD: Bug fix for release triggerred actions (#1385)

Rich Turner0c88ffdb3f3e
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index a7913ccc0..861bb4947 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -378,9 +378,7 @@ jobs:
if 'distribute' in eventConfig and 'docker' in eventConfig['distribute']:
dockerPublishTags = eventConfig['distribute']['docker']
- elif eventName == "release" and refName in eventConfig:
-
- eventConfig = eventConfig[refName]
+ elif eventName == "release":
if eventConfig is not None:
deploys = eventConfig['deploy'] if 'deploy' in eventConfig else {}
if 'distribute' in eventConfig: