Skip to content

Commit 9b15ea6

Browse files
authored
Update Documenter.yml (#19)
1 parent 67758c8 commit 9b15ea6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/Documenter.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
- name: Setup SSH Keys and known_hosts
15+
env:
16+
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
17+
run: |
18+
mkdir -p ~/.ssh
19+
ssh-keyscan github.com >> ~/.ssh/known_hosts
20+
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
21+
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
22+
- name: registry_add
23+
run: julia -e 'using Pkg; pkg"registry add General https://github.com/HolyLab/HolyLabRegistry.git"'
1424
- uses: julia-actions/julia-buildpkg@latest
25+
env:
26+
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
1527
- uses: julia-actions/julia-docdeploy@latest
1628
env:
1729
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)