Open
Description
I have a React project that has two private repositories as dependencies. I created two SSH keys, added private keys as secrets and added public keys as deploy keys in the dependency repository.
This is the code from the pipeline
- name: SSH
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY1 }}
${{ secrets.SSH_PRIVATE_KEY2 }}
For some reason, the connection works only for the first key. I have tried putting SSH_PRIVATE_KEY2 first, and it worked for the repository that has SSH_PRIVATE_KEY2 public key counterpart, then I put SSH_PRIVATE_KEY1 first, and it worked for the repository that has SSH_PRIVATE_KEY1 public key counterpart.
Is someone else having the same issue?
Metadata
Metadata
Assignees
Labels
No labels