From 6e2d9ffe812eb1ca8fe5d04d3df2aa322e9e5760 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 5 Mar 2026 01:54:35 +0100 Subject: Refactor deployment process to use rsync for frontend and backend, update project paths, and add CtagShuttleRealtimeEstimatesProvider and CtagShuttleStatus classes --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 19a5936..6db98b2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -137,7 +137,7 @@ jobs: - name: Deploy frontend if: needs.detect-changes.outputs.frontend == 'true' run: | - scp -r dist/frontend/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/var/www/enmarcha/ + rsync -avz dist/frontend/ ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/var/www/enmarcha/ - name: Stop service if: needs.detect-changes.outputs.backend == 'true' @@ -145,7 +145,7 @@ jobs: - name: Upload backend if: needs.detect-changes.outputs.backend == 'true' - run: scp -r dist/backend/* app@${{ secrets.TARGET_HOST }}:/opt/enmarcha/ + run: rsync -avz dist/backend/ ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:/opt/enmarcha/ - name: Allow execution if: needs.detect-changes.outputs.backend == 'true' -- cgit v1.3