From 35980273bd5970707dc95181160b9ab7a0dd8ef8 Mon Sep 17 00:00:00 2001 From: "Miguel_p.silva" <33907166+MiguelProgrammer@users.noreply.github.com> Date: Sun, 29 Sep 2024 16:21:20 -0300 Subject: [PATCH] :wrecnh: ec2 pipe --- .github/workflows/aws.yml | 13 ++++++++----- .idea/workspace.xml | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index 4d8b1d7..0b941a9 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -9,11 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install SSH Key - uses: shimataro/ssh-key-action@v3 - - - name: Checkout the files - uses: actions/checkout@v2 + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH }} + name: id_rsa # optional + known_hosts: ${{ secrets.KNOWN_HOSTS }} + config: ${{ secrets.CONFIG }} # ssh_config; optional + if_key_exists: fail - name: Deploy to Server 1 uses: easingthemes/ssh-deploy@main diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3acbedf..3a69ff2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,9 @@