Skip to content

chore: sync with release #878

chore: sync with release

chore: sync with release #878

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v25
- name: Update subflake references
run: ./.github/workflows/update-subflake.sh
- run: nix develop .#book -c mdbook build ./.
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
cname: std.divnix.com