mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-09-09 10:15:47 -05:00
Update __main__.py
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user