From a4290576313ce41beae6723f5a3471263761d064 Mon Sep 17 00:00:00 2001 From: Daniel O'Grady Date: Thu, 13 Jul 2023 10:50:50 +0200 Subject: [PATCH] Use proper base directory for doc --- .github/workflows/gh-pages.yml | 4 ++-- package.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0fb5b377..83e7868f 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,10 +24,10 @@ jobs: run: npm ci - name: Create the docs directory locally in CI - run: npm run doc:gh-pages + run: npm run doc:full - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: gh-pages - folder: doc \ No newline at end of file + folder: doc/html \ No newline at end of file diff --git a/package.json b/package.json index ebfb6774..bba96579 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "doc:html": "npm run doc:typegen && ./node_modules/.bin/typedoc 'doc/types/**/*.d.ts' --entryPointStrategy expand --out doc/html --tsconfig doc/types/tsconfig.json", "doc:cli": "npm run cli -- --help > ./doc/cli.txt", "doc:full": "npm run doc:prepare && npm run doc:html && npm run doc:cli", - "doc:gh-pages": "npm run doc:full && cp -r doc/html/* ." }, "files": [ "lib/",