Skip to content

Commit 82e3ee5

Browse files
Try to hack around container + ssh-agent issue
See webfactory/ssh-agent#20
1 parent 07841f0 commit 82e3ee5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/update-api-docs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
uses: webfactory/[email protected]
3232
with:
3333
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
34+
- name: Set known keys in /root/.ssh (see https://github.com/webfactory/ssh-agent/issues/20)
35+
run: |
36+
mkdir -p /root/.ssh
37+
ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
3438
- name: Deploy
3539
uses: JamesIves/github-pages-deploy-action@releases/v3
3640
with:

0 commit comments

Comments
 (0)