From 5bbe2593fe24d74b175f342e70e35dd7d4c1d609 Mon Sep 17 00:00:00 2001 From: Anghelo Flores Date: Tue, 3 Mar 2026 11:27:00 -0500 Subject: [PATCH] fix: timeout SSH 30min y cache de capas Docker en CI --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 414395c..015ad04 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,6 +40,8 @@ jobs: with: context: ./back push: true + cache-from: type=gha + cache-to: type=gha,mode=max tags: | ${{ env.BACKEND_IMAGE }}:latest ${{ env.BACKEND_IMAGE }}:${{ github.sha }} @@ -49,6 +51,8 @@ jobs: with: context: ./front push: true + cache-from: type=gha + cache-to: type=gha,mode=max build-args: | VITE_API_URL=/api tags: | @@ -69,6 +73,7 @@ jobs: username: ${{ secrets.VPS_USER }} key: ${{ secrets.VPS_SSH_KEY }} port: ${{ secrets.VPS_PORT || 22 }} + command_timeout: 30m script: | cd ${{ secrets.VPS_PROJECT_PATH }}