Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmellos committed Jan 4, 2024
1 parent 2d29c70 commit 4fb6767
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,22 @@ jobs:
ref: main
path: actions

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}
# - uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}

- name: Set up SSH
run: |
git config --global core.sshCommand "ssh -F $HOME/.ssh//config"
mkdir -p /home/runner/.ssh
ssh-keyscan -H github.com >> $HOME/.ssh/known_hosts
echo "${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}" > $HOME/.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
git config --global core.sshCommand "ssh -F $HOME/.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:
Expand Down

0 comments on commit 4fb6767

Please sign in to comment.