name: docs on: push: branches: - "main" paths: - "www/**/*" - ".github/workflows/docs.yml" pull_request: paths: - "www/**/*" - ".github/workflows/docs.yml" permissions: contents: read jobs: htmltest: runs-on: ubuntu-latest steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 - uses: cachix/install-nix-action@v24 with: nix_path: nixpkgs=channel:nixos-unstable github_access_token: ${{ secrets.GITHUB_TOKEN }} - run: nix develop .#docs --command task docs:test