Skip to content

Merge pull request #46 from lip6/dependabot/github_actions/JamesIves/… #43

Merge pull request #46 from lip6/dependabot/github_actions/JamesIves/…

Merge pull request #46 from lip6/dependabot/github_actions/JamesIves/… #43

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ master ]
repository_dispatch:
types: [rebuild]
jobs:
build:
name: Maven
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Setup Maven
uses: stCarolas/setup-maven@v.4.5
with:
maven-version: 3.9.6
- name: Build with Maven
run: mvn -e generate-sources install
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: update-site/target/repository # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
single-commit: true