Update __main__.py

This commit is contained in:
tooomm
2022-01-24 15:38:34 +01:00
committed by GitHub
parent 1adfed5fc6
commit d54f412793

View File

@@ -5,6 +5,7 @@ import contextvars
import datetime
import hashlib
import json
import os
import pathlib
import shutil
import time
@@ -644,7 +645,7 @@ def main() -> None:
changed |= delete_old_files()
# Set output to deploy
if CI == true:
if os.environ('CI'):
if changed:
print("::set-output name=deploy::true")
print("::notice title=Updates available::New spoiler files will be uploaded")