Skip to content

fix: page release (#23) #12

fix: page release (#23)

fix: page release (#23) #12

Workflow file for this run

name: Release pages
on:
workflow_dispatch:
push:
branches:
- "main"
permissions:
id-token: write
pages: write
jobs:
release-page:
if: contains(github.event.head_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