From 92c304e9747492d60b3eca46ba1c6780172862ec Mon Sep 17 00:00:00 2001 From: jesusfb Date: Fri, 24 Apr 2026 17:03:28 -0700 Subject: [PATCH] action casa ssh 2 --- .github/workflows/deploy.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0b5f39..da4e1f1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,15 +1,14 @@ -name: Deploy Final SSH +name: Deploy Laravel Directo on: [push] jobs: deploy: - runs-on: ubuntu-latest # Esto usa el runner general de Gitea, no el tuyo. + runs-on: linux_server # <--- IDÉNTICO al que salió en tu log steps: - - name: Ejecutar comandos en EC2 - uses: https://github.com/appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - key: ${{ secrets.SSH_KEY }} - script: | - sudo /usr/bin/bash /opt/deploy.sh \ No newline at end of file + - name: Checkout código + uses: actions/checkout@v4 + + - name: Ejecutar script de despliegue + run: | + # Esto ya corre directo en tu Ubuntu + sudo /usr/bin/bash /opt/deploy.sh \ No newline at end of file