Update __main__.py

This commit is contained in:
tooomm 2022-02-04 15:19:15 +01:00 committed by GitHub
parent 13023af780
commit d234a9ccef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")