2020-05-11 00:33:09 +02:00
|
|
|
name: docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-11-12 22:23:32 +02:00
|
|
|
- 'main'
|
2020-05-11 00:33:09 +02:00
|
|
|
paths:
|
|
|
|
- 'www/*'
|
2021-10-30 14:27:05 +02:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'www/*'
|
2020-05-11 00:33:09 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
htmltest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-10 16:23:33 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: arduino/setup-task@v1
|
2021-10-13 01:14:15 +02:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2021-10-13 03:29:14 +02:00
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.17
|
2021-10-10 16:23:33 +02:00
|
|
|
- run: task docs:build
|
|
|
|
- uses: wjdp/htmltest-action@master
|
2021-06-16 21:01:19 +02:00
|
|
|
with:
|
|
|
|
path: www/site
|
|
|
|
config: www/htmltest.yml
|