Skip to content

Commit

Permalink
try: should I run the ssh-agent in the same step as adding the ssh key ?
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfix committed Jun 14, 2024
1 parent d532228 commit ed377c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cicd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
env:
SSH_SECRET_KEY: ${{ secrets.private_key }}
run: |
eval $(ssh-agent -s)
ssh-add <(echo "$SSH_SECRET_KEY" | base64 --decode)
- name: Definition of the known host
Expand Down

0 comments on commit ed377c4

Please sign in to comment.