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

22 lines
501 B
YAML
Raw Permalink 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:
java-version: 1.8
- 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