From 74d9bbccd9aa98d8b9bb242d7e94a7e5f5df9d02 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 2 Apr 2021 18:43:56 +0600 Subject: [PATCH] updates --- .github/workflows/dokka_push.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/dokka_push.yml diff --git a/.github/workflows/dokka_push.yml b/.github/workflows/dokka_push.yml new file mode 100644 index 00000000000..2c7d4fc4c88 --- /dev/null +++ b/.github/workflows/dokka_push.yml @@ -0,0 +1,21 @@ +name: Publish KDocs +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 + run: ./gradlew dokkaHtml + - name: Publish KDocs + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dokka/build/dokka/html + publish_branch: kdocs