mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
7544f7ab96
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
32 lines
743 B
YAML
32 lines
743 B
YAML
name: docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- 'www/*'
|
|
pull_request:
|
|
paths:
|
|
- 'www/*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
htmltest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
|
|
- uses: arduino/setup-task@d665c6beebae46ff3f699d7b2fd3f1959de7153c # v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3
|
|
with:
|
|
go-version: '>=1.19.3'
|
|
- run: task docs:build
|
|
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
|
|
with:
|
|
path: www/site
|
|
config: www/htmltest.yml
|