30 lines
648 B
YAML
30 lines
648 B
YAML
name: Build website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- renovate/**
|
|
|
|
jobs:
|
|
deploy-main:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
|
|
|
|
- name: Setup Latest Version of Hugo
|
|
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
|
|
with:
|
|
hugo-version: '0.125.2'
|
|
extended: true
|
|
|
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
hugo --minify --gc
|