From 7c92a08af832233d115191a5e53103b00b47c6ae Mon Sep 17 00:00:00 2001 From: nialov Date: Mon, 15 Jan 2024 20:00:50 +0200 Subject: [PATCH] ci(docs): improve docs build --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6cd6257..1da3c9e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -120,11 +120,11 @@ jobs: - name: Build documentation run: | nix build .#fractopo.passthru.documentation.doc - cp -Lr --no-preserve=mode,ownership,timestamps ./result-doc/share/doc/* ./docs + cp -Lr --no-preserve=mode,ownership,timestamps "$(find ./result-doc/ -maxdepth 4 -type 'd' -path '*html*')" ./docs - uses: actions/upload-pages-artifact@v3 with: # Upload folder with static docs - path: "docs/html" + path: "docs/" - uses: actions/configure-pages@v4 - id: deployment uses: actions/deploy-pages@v4