mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Update __main__.py
This commit is contained in:
parent
1adfed5fc6
commit
d54f412793
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user