Merge pull request #1193 from Adyen/develop #16
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: Publish Docs | |
# Every time we merge to the main branch we publish the docs. | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
publish-to-github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Generate Dokka HTML documentation | |
run: ./gradlew dokkaHtmlMultiModule --no-daemon | |
- name: Deploy GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
BRANCH: gh-pages | |
FOLDER: build/docs/ |