From ac67904da89e545ef9b17fce1799417913a3d636 Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Tue, 15 Jul 2025 18:58:00 +0000 Subject: [PATCH] UPDATED CI config #3 --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98d9d32..85c00cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,5 +47,7 @@ deploy-job: # This job runs in the deploy stage. - deployment script: - cp -ir Web/dist/Web/browser/* /var/www/html + - systemctl stop api.service - cp -ir Api/build/* /var/api + - systemctl start api.service - echo "Application successfully deployed."