From d2601833987294f130914b142d0f5bbdd266fdb6 Mon Sep 17 00:00:00 2001 From: bidof Date: Tue, 30 Apr 2024 22:50:52 +0200 Subject: [PATCH] delegar en la maquina --- .github/workflows/release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6537f69..6f14303 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,16 +57,17 @@ jobs: REACT_APP_API_URI: http://${{ secrets.DEPLOY_HOST }}:3000 e2e-tests: - needs: [unit-tests] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Run e2e tests - run: | - chmod +x ./e2eTest.sh - ./e2eTest.sh - env : - CI : "" + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USERNAME }} + key: ${{ secrets.SSH_KEY }} + script: | + ./e2eTest.sh docker-push-webapp: name: Push webapp Docker Image to GitHub Packages