Skip to content

Commit

Permalink
[fix] fix token permission
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqin committed May 6, 2024
1 parent 4e16e6d commit c0f83d0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,26 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: write

steps:
- name: Download source
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies
run: pip install mkdocs mkdocs-material

- name: Build site
run: mkdocs build

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit c0f83d0

Please sign in to comment.