diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-05 01:54:35 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-05 01:54:58 +0100 |
| commit | 6e2d9ffe812eb1ca8fe5d04d3df2aa322e9e5760 (patch) | |
| tree | 8a524c3145228a93ec44c07591b3aeed12d2317c /.github/workflows | |
| parent | 4d9ca9016953a08748628d1d091989027c4cbe99 (diff) | |
Refactor deployment process to use rsync for frontend and backend, update project paths, and add CtagShuttleRealtimeEstimatesProvider and CtagShuttleStatus classes
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/deploy.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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' |
