From a119b0c710b6adca835975f3811092ffc4cc0865 Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Fri, 24 Apr 2026 15:44:21 -0400 Subject: [PATCH] lemme do it this way actually --- scripts/run_updates.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run_updates.py b/scripts/run_updates.py index ddbe490..3687f28 100644 --- a/scripts/run_updates.py +++ b/scripts/run_updates.py @@ -53,12 +53,12 @@ def main(): for ansible_tag in deployable_tags: subprocess.run(f'ANSIBLE_CONFIG=ansible.cfg ansible-playbook main.yml --tags {ansible_tag} -l bear --vault-password-file=~/.vault_pass.txt', shell=True) - print("Redeployed all images, refreshing Cup") - requests.get("https://cup.fntz.net/api/v3/refresh") - print("Attempting to clean up dangling/unassumed images") subprocess.run(f"docker image prune -a -f", shell=True) + print("Redeployed all images, refreshing Cup") + requests.get("https://cup.fntz.net/api/v3/refresh") + if DISCORD_WEBHOOK_URL: print("sending discord notification..") body = {