From 108e8fe720ba69a912a9399531d0a628c120befa Mon Sep 17 00:00:00 2001 From: Alexis Gutierrez Date: Fri, 21 Jun 2024 10:15:00 +0200 Subject: [PATCH] Action remove --- .github/workflows/deploy.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 482832a..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Deploy - -on: [push] - -jobs: - deploy: - - if: contains(github.event.head_commit.message, 'deploy') - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Install SSH Key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_PRIVATE_KEY }} - known_hosts: 'just-a-placeholder-so-we-dont-get-errors' - - name: Adding Known Hosts - run: ssh-keyscan -H ${{ secrets.REMOTE_HOST }} >> ~/.ssh/known_hosts - - name: Deploy with rsync - run: rsync -avz --exclude '.git*' . ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:/root/stacks/seguridadUnileonNuevo/html/master \ No newline at end of file