Skip to content

Commit 5174126

Browse files
committed
[CI] Rework docs deployment
1 parent ab04f73 commit 5174126

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/Documentation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ jobs:
4848
version: "min"
4949
- uses: julia-actions/cache@v2
5050
id: julia-cache
51+
- uses: actions/create-github-app-token@v2
52+
id: generate_token
53+
# if: ${{ ! github.event.pull_request.head.repo.fork }}
54+
with:
55+
app-id: "${{ secrets.NUMTERRA_BOT_ID }}"
56+
private-key: "${{ secrets.NUMTERRA_BOT_PRIVATE_KEY }}"
5157
- uses: julia-actions/julia-docdeploy@v1
5258
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
5460
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
5561
- name: Save Julia depot cache on cancel or failure
5662
id: julia-cache-save

0 commit comments

Comments
 (0)