Skip to content

Commit e9e2915

Browse files
committed
Pass secrets and set permissions
1 parent f2296cb commit e9e2915

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/javadoc-gh-pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ permissions:
44
pages: write
55
id-token: write
66
on:
7-
workflow_call:
7+
workflow_call:
8+
secrets:
9+
GITHUB_TOKEN:
10+
required: true
811

912
jobs:
1013
build:

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Publish Documentation
2-
2+
permissions:
3+
contents: write
34
on:
45
push:
56
branches:
@@ -8,6 +9,8 @@ on:
89
jobs:
910
publish-asciidoc:
1011
uses: ./.github/workflows/asciidoc-publish.yml
12+
secrets:
13+
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
1114

1215
publish-javadoc:
1316
needs: publish-asciidoc

0 commit comments

Comments
 (0)