30 lines
652 B
YAML
30 lines
652 B
YAML
name: Build website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- renovate/**
|
|
|
|
jobs:
|
|
deploy-main:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
|
|
|
- name: Setup Latest Version of Hugo
|
|
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # tag=v2
|
|
with:
|
|
hugo-version: '0.124.1'
|
|
extended: true
|
|
|
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
hugo --minify --gc
|