1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00
tgbotapi/.github/workflows/kdocs.yml

22 lines
517 B
YAML
Raw Normal View History

2021-03-16 16:41:45 +00:00
name: Publish KDocs
2021-03-16 16:39:54 +00:00
on:
push:
branches:
- master
jobs:
publishing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
2022-03-24 10:49:08 +00:00
java-version: 11
2021-03-16 16:39:54 +00:00
- name: Build
2023-03-04 15:18:50 +00:00
run: ./gradlew dokkaHtmlMultiModule
2021-03-16 16:39:54 +00:00
- name: Publish KDocs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2023-03-04 15:18:50 +00:00
publish_dir: ./build/dokka/htmlMultiModule
2021-03-16 16:39:54 +00:00
publish_branch: kdocs