Skip to content

upgrade github-pages-deploy-action #1352

upgrade github-pages-deploy-action

upgrade github-pages-deploy-action #1352

Workflow file for this run

name: Maven CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
- name: Build with Maven
run: mvn --no-transfer-progress verify site
- name: Deploy documentation
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@releases/v4.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: target/site