From 5c5e15337d39d6268b29152d01d11712b751fb47 Mon Sep 17 00:00:00 2001 From: Woodson Gates <43043100+faultoverload@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:01:08 -0400 Subject: [PATCH] Delete update.sh --- update.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 update.sh diff --git a/update.sh b/update.sh deleted file mode 100644 index 8ee0901..0000000 --- a/update.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -export $(xargs <.env) - -# Notify healthchecks.io that the job is starting -curl -fsS --retry 3 "${HEALTHCHECKS_URL}/start" - -# Start the Docker container in detached mode and get its ID -CONTAINER_ID=$(docker run -d actual-helper) - -# Execute the command inside the container -docker exec $CONTAINER_ID node kbb.js -docker exec $CONTAINER_ID node zestimate.js -docker exec $CONTAINER_ID node sync-banks.js - - - -# Stop and remove the container after execution -docker rm -f $CONTAINER_ID - - -# Notify healthchecks.io that the job has completed -curl -fsS --retry 3 "${HEALTHCHECKS_URL}"