From e6cf1af89f63b65d9e2b5d6d4e0ff846251c19aa Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Thu, 4 Jan 2024 11:58:47 -0300 Subject: [PATCH] debug --- .github/workflows/iac.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index e30c4bf9..a6a9cb16 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -109,22 +109,22 @@ jobs: # with: # ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} - # - name: Set up SSH - # run: | - # mkdir -p /home/runner/.ssh - # ssh-keyscan -H github.com >> /home/runner/.ssh/known_hosts - # echo "${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}" > /home/runner/.ssh/github_actions - # chmod 600 /home/runner/.ssh/github_actions - # ssh-agent -a $SSH_AUTH_SOCK > /dev/null - # ssh-add /home/runner/.ssh/github_actions - # env: - # PRIVATE_SSH_KEY_TFMODULES: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} - # SSH_AUTH_SOCK: /tmp/ssh_agent.sock - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} - known_hosts: github.com + - name: Set up SSH + run: | + mkdir -p /home/runner/.ssh + ssh-keyscan -H github.com >> /home/runner/.ssh/known_hosts + echo "${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}" > /home/runner/.ssh/github_actions + chmod 600 /home/runner/.ssh/github_actions + ssh-agent -a $SSH_AUTH_SOCK > /dev/null + ssh-add /home/runner/.ssh/github_actions + env: + PRIVATE_SSH_KEY_TFMODULES: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} + SSH_AUTH_SOCK: /tmp/ssh_agent.sock + # - name: Install SSH key + # uses: shimataro/ssh-key-action@v2 + # with: + # key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} + # known_hosts: github.com - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4.0.1