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 }}