Skip to content

Release pages

Release pages #10

Workflow file for this run

name: Release pages
on:
workflow_dispatch:
push:
branches:
- "main"
permissions:
id-token: write
jobs:
release-page:
if: contains(github.event.commit.message, 'chore(release):') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Dokka
run: ./gradlew dokkaHtml
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4