2020-05-10 19:33:09 -03:00
|
|
|
name: docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-11-12 17:23:32 -03:00
|
|
|
- 'main'
|
2020-05-10 19:33:09 -03:00
|
|
|
paths:
|
|
|
|
- 'www/*'
|
2021-10-30 09:27:05 -03:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'www/*'
|
2020-05-10 19:33:09 -03:00
|
|
|
|
2022-04-13 12:42:11 -05:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-05-10 19:33:09 -03:00
|
|
|
jobs:
|
|
|
|
htmltest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-16 20:29:18 -05:00
|
|
|
- uses: actions/checkout@b0e28b5ac45a892f91e7d036f8200cf5ed489415 # v3
|
2022-03-28 09:36:15 -03:00
|
|
|
- uses: arduino/setup-task@ca745e18916de727f841ec824ac20a615f1cddea # v1
|
2021-10-12 20:14:15 -03:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2022-07-12 09:56:52 -03:00
|
|
|
- uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # v3
|
2021-10-12 22:29:14 -03:00
|
|
|
with:
|
2022-03-16 23:28:13 -03:00
|
|
|
go-version: 1.18
|
2021-10-10 11:23:33 -03:00
|
|
|
- run: task docs:build
|
2022-03-16 20:29:18 -05:00
|
|
|
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
|
2021-06-16 16:01:19 -03:00
|
|
|
with:
|
|
|
|
path: www/site
|
|
|
|
config: www/htmltest.yml
|