Skip to content

Merge pull request #43 from Marco012/master #27

Merge pull request #43 from Marco012/master

Merge pull request #43 from Marco012/master #27

Workflow file for this run

name: Generate dokka HTML and publish to Github Pages
on:
push:
branches:
- master
env:
PRODUCTION: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Grant execute permisson for gradlew
run: chmod +x gradlew
- name: Update README.md version
run: ./gradlew lib:updateReadmeVersion
- name: Generate Documention with Dokka
run: ./gradlew lib:dokkaHtml
- name: Moving generated documentation files
run: |
rm -rf ./docs
mv -f lib/build/dokka/html ./docs
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs