Skip to content

Commit a2983a6

Browse files
committed
add ssh-agent start
1 parent 91a90ac commit a2983a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cicd_dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
copy:
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Install and start the ssh agent
16+
run: |
17+
'which ssh-agent || ( apt-get install -qq openssh-client )'
18+
eval $(ssh-agent -s)
19+
1520
- name: Read the ssh private key
1621
env:
1722
SSH_SECRET_KEY: ${{ secrets.private_key }}

0 commit comments

Comments
 (0)