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

Rich Turner62716984a6b4
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index ba33e00d3..311e72902 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -830,10 +830,10 @@ jobs:
else:
lines = len(value.split("\n"))
if lines > 1:
- os.system(f"echo '{key}=\'' >> {envFile}")
- os.system(f"echo '{value}\'' >> {envFile}")
+ os.system(f"echo '{key}='\"'\"'' >> {envFile}")
+ os.system(f"echo '{value}'\"'\"'' >> {envFile}")
else:
- os.system(f"echo '{key}=\'{value}\'' >> {envFile}")
+ os.system(f"echo '{key}='\"'\"'{value}'\"'\"'' >> {envFile}")
# Output env file if exists
if os.path.exists(".ci_cd/env/.env"):