mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-18 09:57:22 +08:00
Update doc.yml
This commit is contained in:
parent
8a745d388c
commit
884fa6180e
6
.github/workflows/doc.yml
vendored
6
.github/workflows/doc.yml
vendored
@ -24,13 +24,13 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Gradle build
|
- name: Gradle build
|
||||||
run: ./gradlew clean build # if test's failed, don't publish
|
run: ./gradlew clean build # if test's failed, don't publish
|
||||||
- name: Gradle :mirai-core:dokkaGenerator
|
- name: Dokka
|
||||||
run: ./gradlew :mirai-core:dokka
|
run: ./gradlew :mirai-core-api:dokkaHtml
|
||||||
- name: GitHub Pages Deploy
|
- name: GitHub Pages Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
personal_token: ${{ secrets.MAMOE_TOKEN }}
|
personal_token: ${{ secrets.MAMOE_TOKEN }}
|
||||||
publish_dir: ./mirai-core/build/dokka
|
publish_dir: ./mirai-core-api/build/dokkaHtml
|
||||||
external_repository: project-mirai/mirai-doc
|
external_repository: project-mirai/mirai-doc
|
||||||
publish_branch: master
|
publish_branch: master
|
||||||
user_name: 'mamoebot'
|
user_name: 'mamoebot'
|
||||||
|
Loading…
Reference in New Issue
Block a user