Skip to content

Commit 6deb42f

Browse files
committed
Add SSH agent setup for cross-repo dependencies
Required for git+ssh:// dependency URLs to work in GitHub Actions
1 parent a4477c3 commit 6deb42f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/deploy-examples.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232

33+
- name: Setup SSH Agent
34+
uses: webfactory/ssh-agent@v0.9.0
35+
with:
36+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
37+
3338
- name: Setup Python
3439
uses: actions/setup-python@v4
3540
with:
@@ -89,6 +94,11 @@ jobs:
8994
steps:
9095
- uses: actions/checkout@v4
9196

97+
- name: Setup SSH Agent
98+
uses: webfactory/ssh-agent@v0.9.0
99+
with:
100+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
101+
92102
- name: Setup Python
93103
uses: actions/setup-python@v4
94104
with:

0 commit comments

Comments
 (0)