1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/docs.yml
Carlos Alexandro Becker 37851b4287
ci: fix docs build workflow
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-15 00:56:48 +00:00

34 lines
819 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:
htmltest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3
- uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: stable
- run: task docs:build
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
with:
path: www/site
config: www/htmltest.yml