From 832f3b99f515c270aa83548206983a0eb34a927e Mon Sep 17 00:00:00 2001 From: Jason Holt Smith Date: Thu, 23 May 2024 15:12:48 +0100 Subject: [PATCH] improves how the documentation is generated --- .github/workflows/build-test-deploy-main.yml | 5 ++++- .github/workflows/deploy-pages-main.yml | 20 -------------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/deploy-pages-main.yml diff --git a/.github/workflows/build-test-deploy-main.yml b/.github/workflows/build-test-deploy-main.yml index 0bde65e5..f1749d92 100644 --- a/.github/workflows/build-test-deploy-main.yml +++ b/.github/workflows/build-test-deploy-main.yml @@ -37,4 +37,7 @@ jobs: run: npx lerna publish from-package --yes env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_USER: ${{ secrets.NPM_USER }} \ No newline at end of file + NPM_USER: ${{ secrets.NPM_USER }} + - name: Generate Docs + id: generatedocs + run: npm run docs \ No newline at end of file diff --git a/.github/workflows/deploy-pages-main.yml b/.github/workflows/deploy-pages-main.yml deleted file mode 100644 index 2ad2f4ad..00000000 --- a/.github/workflows/deploy-pages-main.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: deploy-pages-main -on: - push: - branches: - - main -jobs: - deploy-pages: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '18' - - name: Install Dependencies - id: installdeps - run: npm ci - - name: Build HTML docs - id: builddocs - run: npm run docs - - uses: actions/deploy-pages@v4 \ No newline at end of file