From 0f7cac28072dc80068de93cc3d4c782e1774151c Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 18 Apr 2024 11:47:38 +0100 Subject: [PATCH] docs: update docs config --- .github/workflows/typedoc.yml | 43 ----------------------------------- package.json | 1 + 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 .github/workflows/typedoc.yml diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml deleted file mode 100644 index 9a48ea11a..000000000 --- a/.github/workflows/typedoc.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Publish Typedoc to Github Pages -on: - push: - branches: - - main - - master - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - publish-typedoc: - environment: - name: github-pages - url: ${{ steps.publish-typedoc.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v1 - - uses: ipfs/aegir/actions/cache-node-modules@master - - name: Run typedoc - run: npm run typedoc - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: 'docs' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 diff --git a/package.json b/package.json index 1bbe0e243..806ca84ac 100644 --- a/package.json +++ b/package.json @@ -136,6 +136,7 @@ "build": "aegir build", "test": "aegir test", "docs": "aegir docs", + "docs:no-publish": "aegir docs --publish false", "test:node": "aegir test -t node --cov", "test:chrome": "aegir test -t browser --cov", "test:chrome-webworker": "aegir test -t webworker",