docs: remove legacy docs #1088
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github pages | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Install nix | |
uses: cachix/install-nix-action@v22 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Build documentation book | |
run: nix build -L --show-trace .#docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./result |