From 9386508a2af017cdcd22dcdfb66c1895f07d22ea Mon Sep 17 00:00:00 2001 From: Jolie Rabideau Date: Tue, 5 Dec 2023 11:13:21 -0500 Subject: [PATCH] put docs into one folder --- .github/workflows/publish-docs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 99d7044313..f100dc1e66 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -26,15 +26,18 @@ jobs: npm run build - name: Build documentation - run: | # renaming the folders so that pages links at /{their name} instead of at /docs + run: | # need to specify --out so pages links at /{their name} instead of at /docs cd lib/papi-components npx typedoc --out papi-components cd ../papi-dts npx typedoc --out papi-dts + cd ../../ + mkdir docs-for-pages + mv lib/papi-components/papi-components docs-for-pages + mv lib/papi-dts/papi-dts docs-for-pages - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: github-pages - folder: | - lib/papi-components/papi-components + folder: docs-for-pages