Skip to content

Fix the doc build GHA (#95) #8

Fix the doc build GHA (#95)

Fix the doc build GHA (#95) #8

Workflow file for this run

name: ghpages
on:
push:
branches:
- 'master'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build docu
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Environment
run: env | sort
- uses: actions/checkout@v4
- name: Set up JDK for x64
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
architecture: x64
- name: Generate
run: ./gradlew antora
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./build/site
publish-ghpages:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2