feat: adopt v7 API #WPB-11975 (#3099) #1960
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Dokka docs | |
on: | |
push: | |
branches: | |
- develop # later on we should stick to main, since there will be the releases | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java and Gradle | |
uses: ./.github/actions/setup-java-gradle | |
- name: Generate Dokka docs | |
run: make doc/generate-kdocs | |
env: | |
GITHUB_USER: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy docs 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
clean: false | |
folder: build/dokka/htmlMultiModule | |
target-folder: docs |