1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/docs.yml
2022-09-22 16:00:05 -03:00

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@2541b1294d2704b0964813337f33b291d3f8596b # v3
- uses: arduino/setup-task@ca745e18916de727f841ec824ac20a615f1cddea # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: '>=1.19.1'
- run: task docs:build
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
with:
path: www/site
config: www/htmltest.yml