keeeewl it works

This commit is contained in:
2026-04-24 15:41:41 -04:00
parent ae35adc458
commit 7c75dbfd3b
+2 -2
View File
@@ -58,8 +58,6 @@ def main():
print("Attempting to clean up dangling/unassumed images")
subprocess.run(f"docker image prune -a -f", shell=True)
else:
print("All up to date! :)")
if DISCORD_WEBHOOK_URL:
print("sending discord notification..")
@@ -76,6 +74,8 @@ def main():
"content-type": "application/json"
}
requests.post(DISCORD_WEBHOOK_URL, json=body, headers=headers)
else:
print("All up to date! :)")
if __name__ == "__main__":
main()