1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-25 03:28:44 +00:00
tgbotapi/.github/workflows/kdocs.yml

22 lines
500 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
2021-03-21 17:22:16 +00:00
run: ./gradlew dokkaHtml
2021-03-16 16:39:54 +00:00
- name: Publish KDocs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2021-03-21 17:22:16 +00:00
publish_dir: ./docs/build/dokka/html
2021-03-16 16:39:54 +00:00
publish_branch: kdocs