Skip to content

fix: release token (#22) #8

fix: release token (#22)

fix: release token (#22) #8

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