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
13023af780
commit
d234a9ccef
|
|
@ -644,7 +644,7 @@ def main() -> None:
|
|||
# Cleanup outdated stuff that's not necessary
|
||||
changed |= delete_old_files()
|
||||
|
||||
# Set output to deploy
|
||||
# Only when run in CI, enable deployment on changes
|
||||
if os.environ['CI']:
|
||||
if changed:
|
||||
print("::set-output name=deploy::true")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user