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: Fix broken precedence of inputs and secrets (#2739)

Rich Turner2ab1d9a42151
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index ce294af87..51b0a829f 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -901,7 +901,7 @@ jobs:
isMainRepo = os.getenv("IS_MAIN_REPO") == 'true'
inputs = json.loads(os.getenv("INPUTS", "{}"))
secrets = json.loads(os.getenv("SECRETS", "{}"))
- inputsAndSecrets = inputs | secrets
+ inputsAndSecrets = secrets | inputs
ipv4 = os.getenv("IPV4")
ipv6 = os.getenv("IPV6")