Skip to content

Commit

Permalink
Adding a GitHub action workflow to deploy documentation on GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed Jan 18, 2025
1 parent 31bcadf commit 930597b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
- 2.0.0.Alpha1-docs
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: maven
- name: Build with Maven
run: ./mvnw --batch-mode --no-transfer-progress clean package -pl build/docs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/docs/target/generated-docs/
git-config-name: Alien Ike
git-config-email: [email protected]

0 comments on commit 930597b

Please sign in to comment.