Skip to content

Spring Extensions 1.0.2 News Item and doc (#143) #59

Spring Extensions 1.0.2 News Item and doc (#143)

Spring Extensions 1.0.2 News Item and doc (#143) #59

name: GitHub Pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.63.2'
- name: Build
run: scripts/generate-site.sh
- name: Deploy
if: github.repository == 'mapstruct/mapstruct.org'
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
with:
emptyCommits: false