mirror of
https://git.gay/pyrox/aux-docs
synced 2024-10-30 02:47:56 +00:00
update ci
This commit is contained in:
parent
d0cee3d399
commit
e43d708d24
|
@ -11,12 +11,13 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Nix
|
- name: Setup Nix
|
||||||
uses: https://github.com/cachix/install-nix-action@v27
|
uses: https://github.com/cachix/install-nix-action@v27
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
|
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: |
|
run: |
|
||||||
nix develop
|
|
||||||
nix build .#md-manual --out-link docs
|
nix build .#md-manual --out-link docs
|
||||||
mkdocs build -d ./public
|
nix-shell -p 'python312.withPackages(ps: with ps; [ mkdocs-material mkdocs pillow cairosvg ])' --run "mkdocs build -d ./public"
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: https://git.pyrox.dev/actions/pages-action@v2
|
uses: https://git.pyrox.dev/actions/pages-action@v2
|
||||||
|
|
Loading…
Reference in a new issue