From b5f2c68660054a5d8e2839c2fd7bb62a4f610959 Mon Sep 17 00:00:00 2001 From: Christos Chronis Date: Mon, 13 May 2024 03:47:18 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 40e1773..9dfe0c2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,6 +26,12 @@ jobs: sudo docker rmi -f fsbt-front sudo docker rmi -f fsbt-sim sudo docker rmi -f fsbt-back - sudo docker compose -f docker-compose-production.yml build --no-cache - sudo docker compose -f docker-compose-production.yml up -d --force-recreate + cd /home/christoclis/fossbot-platform/front-end + sudo docker build --no-cache -t fsbt-front . + cd /home/christoclis/fossbot-platform/back-end + sudo docker build --no-cache -t fsbt-back . + cd /home/christoclis/fossbot-platform/simulator + sudo docker build --no-cache -t fsbt-sim . + cd /home/christoclis/fossbot-platform + sudo docker compose -f docker-compose-production.yml up -d EOF