github.com/goreleaser/goreleaser@v1.25.1/.github/workflows/docs.yml (about)

     1  name: docs
     2  
     3  on:
     4    push:
     5      branches:
     6        - "main"
     7      paths:
     8        - "www/**/*"
     9        - ".github/workflows/docs.yml"
    10    pull_request:
    11      paths:
    12        - "www/**/*"
    13        - ".github/workflows/docs.yml"
    14  
    15  permissions:
    16    contents: read
    17  
    18  jobs:
    19    htmltest:
    20      runs-on: ubuntu-latest
    21      steps:
    22        - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3
    23        - uses: cachix/install-nix-action@v26
    24          with:
    25            nix_path: nixpkgs=channel:nixos-unstable
    26            github_access_token: ${{ secrets.GITHUB_TOKEN }}
    27        - run: nix develop .#docs --command task docs:test