name: docs on: push: branches: - 'main' paths: - '.github/workflows/htmltest.yml' - 'www/*' pull_request: paths: - '.github/workflows/htmltest.yml' - 'www/*' jobs: htmltest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-go@v2 with: go-version: 1.17 - run: task docs:build - uses: wjdp/htmltest-action@master with: path: www/site config: www/htmltest.yml