Skip to content

Commit

Permalink
ci(main): evaluate path to docs using nix
Browse files Browse the repository at this point in the history
  • Loading branch information
nialov committed Feb 5, 2025
1 parent 1039583 commit f0012eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Build documentation
run: |
nix build .#fractopo.passthru.documentation.doc
cp -Lr --no-preserve=mode,ownership,timestamps "$(find ./result-doc/ -maxdepth 4 -type 'd' -path '*html*')" ./docs
cp -Lr --no-preserve=mode,ownership,timestamps ./result-doc/share/doc/"$(nix eval --raw .#fractopo.name)"/html ./docs
- uses: actions/upload-pages-artifact@v3
with:
# Upload folder with static docs
Expand Down

0 comments on commit f0012eb

Please sign in to comment.