Skip to content

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

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

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

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 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