From 918e7166d7cf38661faa453ea83eb4badec9debf Mon Sep 17 00:00:00 2001 From: Dan <47875749+leethobbit@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:56:41 -0500 Subject: [PATCH] Small update to deploy script --- .gitea/workflows/new-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/new-deploy.yml b/.gitea/workflows/new-deploy.yml index 35c0c5a..65d7d5d 100644 --- a/.gitea/workflows/new-deploy.yml +++ b/.gitea/workflows/new-deploy.yml @@ -20,7 +20,12 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd /app/ + echo "Removing the old directory." sudo rm -rf dragonroost/ + echo "Cloning the new directory." sudo git clone https://github.com/leethobbit/dragonroost.git cd dragonroost/ + echo "Bringing down Docker services." + sudo docker compose -f docker-compose.local.yml down -d + echo "Bringing up new version of Docker services." sudo docker compose -f docker-compose.local.yml up -d