mirror of
https://github.com/goreleaser/nfpm
synced 2026-11-29 08:54:49 +01:00
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Copilot-Session: 306951c1-378d-45a9-9aff-e7076b10153d
37 lines
874 B
YAML
37 lines
874 B
YAML
name: docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
paths:
|
|
- "www/**/*"
|
|
- ".github/workflows/docs.yml"
|
|
pull_request:
|
|
paths:
|
|
- "www/**/*"
|
|
- ".github/workflows/docs.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
|
with:
|
|
go-version-file: www/go.mod
|
|
- uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3
|
|
with:
|
|
hugo-version: "latest"
|
|
extended: true
|
|
- run: |
|
|
cd www
|
|
hugo --minify
|
|
- uses: wjdp/htmltest-action@31be84a95c860a331e0cf9a99f71e3eb39d2f86b # master
|
|
with:
|
|
config: www/htmltest.yml
|
|
path: www/public
|