Skip to content

Commit

Permalink
add ssh-agent start
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfix committed Jun 14, 2024
1 parent 91a90ac commit a2983a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cicd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
copy:
runs-on: ubuntu-latest
steps:
- name: Install and start the ssh agent
run: |
'which ssh-agent || ( apt-get install -qq openssh-client )'
eval $(ssh-agent -s)
- name: Read the ssh private key
env:
SSH_SECRET_KEY: ${{ secrets.private_key }}
Expand Down

0 comments on commit a2983a6

Please sign in to comment.