Skip to content

Blog post for 1.6.1 #78

Blog post for 1.6.1

Blog post for 1.6.1 #78

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.119.0'
- 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