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-08-19 09:11:36 -03:00
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 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-08-24 10:02:10 -03:00
|
|
|
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
2021-10-12 22:29:14 -03:00
|
|
|
with:
|
2022-08-06 18:44:23 -03:00
|
|
|
go-version: 1.19
|
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
|