Skip to content

Commit 3f31f5e

Browse files
authored
fixed docs workflow permission (#207)
1 parent 49452e2 commit 3f31f5e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish_docs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
execute-and-deploy:
17+
deploy-github-pages:
1818
runs-on: ubuntu-latest
1919
if: github.repository == 'sgl-project/specforge'
20+
permissions:
21+
contents: write
2022
steps:
2123
- name: Checkout code
2224
uses: actions/checkout@v4
@@ -41,6 +43,5 @@ jobs:
4143
- name: Deploy
4244
uses: peaceiris/actions-gh-pages@v4
4345
with:
44-
personal_token: ${{ secrets.PERSONAL_TOKEN }}
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
4547
publish_dir: ./docs/_build/html
46-
cname: docs.sglang.ai/SpecForge

0 commit comments

Comments
 (0)