Skip to content

Commit b7ed9ad

Browse files
committed
add bot token
1 parent 7341e5c commit b7ed9ad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: 'Run typedoc and publish to pages'
22

33
on:
44
workflow_call:
5+
secrets:
6+
BOT_SK:
7+
required: true
8+
59
workflow_dispatch:
610

711
jobs:
812
build-and-publish-docs:
913
runs-on: ubuntu-latest
1014
permissions:
1115
contents: read
12-
pages: write
1316
id-token: write
1417
steps:
1518
- name: Checkout source code
@@ -33,3 +36,5 @@ jobs:
3336

3437
- name: Deploy to GitHub Pages
3538
uses: actions/deploy-pages@v4
39+
with:
40+
token: ${{ secrets.BOT_SK }}

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ jobs:
8787
name: Publish docs
8888
needs: release
8989
if: github.ref_name == 'release'
90-
uses: ./.github/workflows/docs.yml
90+
uses: ./.github/workflows/gh-pages.yml
9191
secrets:
92-
BOT_ID: ${{ secrets.BOT_ID }}
9392
BOT_SK: ${{ secrets.BOT_SK }}

0 commit comments

Comments
 (0)