Skip to content

Merge pull request #46 from graphql-java-kickstart/renovate/actions-c… #49

Merge pull request #46 from graphql-java-kickstart/renovate/actions-c…

Merge pull request #46 from graphql-java-kickstart/renovate/actions-c… #49

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.82.0'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: graphql-java-kickstart/graphql-java-kickstart.github.io
publish_branch: master
publish_dir: ./public
cname: www.graphql-java-kickstart.com