Skip to content

Merge pull request #219 from jajik/deploy-fix #151

Merge pull request #219 from jajik/deploy-fix

Merge pull request #219 from jajik/deploy-fix #151

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: github.repository_owner == 'modcluster'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- name: Build with Maven
run: ./mvnw --batch-mode --no-transfer-progress verify
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
branch: gh-pages
folder: docs/target/generated-docs/
git-config-name: mod_cluster documentation bot
git-config-email: docs-bot@modcluster.io