Update readme #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Template Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-deploy: | |
name: Test Build template | |
runs-on: ubuntu-24.04 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
# renovate: datasource=github-tags depName=golang/go | |
go-version: '1.23.2' | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
# renovate: datasource=github-releases depName=gohugoio/hugo | |
hugo-version: '0.136.5' | |
extended: true | |
- name: Clean cache | |
run: hugo mod clean | |
- name: Build | |
run: hugo --minify |