Skip to content

Merge pull request #396 from ryantm/dependabot/github_actions/crazy-m… #149

Merge pull request #396 from ryantm/dependabot/github_actions/crazy-m…

Merge pull request #396 from ryantm/dependabot/github_actions/crazy-m… #149

Workflow file for this run

name: doc
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix build .#nixpkgs-update-doc
- if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: result/multi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}