Skip to content

feat: 1.21 neoforge #31

feat: 1.21 neoforge

feat: 1.21 neoforge #31

Workflow file for this run

name: Build & Deploy Dokka docs
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: |
8
16
17
21
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: dokkaHtmlMultiModule
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./build/dokka/htmlMultiModule
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2