mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-11-08 11:36:12 +01:00
fix docs workflow
This commit is contained in:
parent
5d963f0f6c
commit
a7dea7220a
1 changed files with 12 additions and 6 deletions
18
.github/workflows/docs.yml
vendored
18
.github/workflows/docs.yml
vendored
|
|
@ -17,17 +17,23 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
|
||||
- name: Build documentation with Nix
|
||||
# Use bash because some Nix examples assume bash; the runner provides it.
|
||||
run: |
|
||||
# Build the documentation package from the flake. Adjust system if needed.
|
||||
nix build .#packages.x86_64-linux.documentation --no-link
|
||||
nix build .#documentation
|
||||
|
||||
- name: Upload built docs
|
||||
uses: actions/upload-artifact@v4
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
name: site
|
||||
path: result
|
||||
path: ./result
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
Loading…
Add table
Add a link
Reference in a new issue