From 1bb264b977e08abbf2ab894e2176f16df73ac728 Mon Sep 17 00:00:00 2001 From: jesusfb Date: Fri, 24 Apr 2026 16:05:21 -0700 Subject: [PATCH] action casa yml --- .github/workflows/deploy.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c8b9456..43b324f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,13 +1,16 @@ name: Deploy Automático -on: [push] +on: + push: + branches: + - main # O la rama que uses jobs: deploy: - runs-on: ubuntu-latest + runs-on: host # <--- CAMBIO CLAVE: Usa 'host' o 'self-hosted' steps: - - name: Checkout + - name: Checkout código uses: actions/checkout@v3 - - - name: Run Deploy Script + + - name: Ejecutar Script de Despliegue run: | sudo /usr/bin/bash /opt/deploy.sh \ No newline at end of file