From 929a04c9151f026bfb7fe0b70afb189eef0191c2 Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 24 Jan 2022 15:14:30 +0100 Subject: [PATCH] Update __main__.py --- magic_spoiler/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic_spoiler/__main__.py b/magic_spoiler/__main__.py index 243f7bf3..d4862afb 100644 --- a/magic_spoiler/__main__.py +++ b/magic_spoiler/__main__.py @@ -644,7 +644,7 @@ def main() -> None: changed |= delete_old_files() # Set output to deploy - if CI == true: + if os.getenv('CI'): if changed: print("::set-output name=deploy::true") print("::notice title=Updates available::New spoiler files will be uploaded")