Skip to content

Commit 378ba6d

Browse files
committed
Use GH_ACTIONS_REPO_TOKEN
1 parent 9659f1f commit 378ba6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-reference.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'gh-pages'
77

88
env:
9-
GH_TOKEN_DISPATCH: ${{ secrets.GH_TOKEN_DISPATCH }}
9+
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
1010

1111
jobs:
1212
build:
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
branch: "spring-session/main" # The branch the action should deploy to.
2323
folder: "spring-session-docs/build/generateAntora" # The folder the action should deploy.
24-
repository-name: "rwinch/spring-security-docs-generated"
25-
token: ${{ secrets.GH_TOKEN_DISPATCH }}
24+
repository-name: "spring-io/spring-generated-docs"
25+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
2626
- name: Dispatch Build Request
27-
run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'rwinch/spring-reference' "$GH_TOKEN_DISPATCH"
27+
run: ${GITHUB_WORKSPACE}/.github/actions/dispatch.sh 'rwinch/spring-reference' "$GH_ACTIONS_REPO_TOKEN"

0 commit comments

Comments
 (0)