From eeb4000efe2da2c46f40117632468f98384a14e1 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Thu, 27 Jul 2023 19:20:14 +0200 Subject: [PATCH] ci: releasing typedoc --- .gitea/workflows/release.yaml | 2 +- client/package.json | 2 +- client/typedoc.json | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e1fdbc5..c5e54db 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -98,7 +98,7 @@ jobs: run: | cd client npm run typedoc - # deploy docs + surfer put --token ${{ secrets.TSDOC_TOKEN }} --server tsdoc.datacontroller.io ../tsdoc / - name: Upload assets to release run: | diff --git a/client/package.json b/client/package.json index e1475c8..109bb44 100644 --- a/client/package.json +++ b/client/package.json @@ -29,7 +29,7 @@ "cy:run": "cypress run", "audit:prod": "npm audit --omit=dev", "sasdocs": "sasjs doc && ./sasjs/utils/deploydocs.sh", - "typedoc": "typedoc --options typedoc.json && cd ../dc-devdocs" + "typedoc": "typedoc --options typedoc.json && cd ../tsdoc" }, "private": true, "dependencies": { diff --git a/client/typedoc.json b/client/typedoc.json index be1879f..34b31c2 100644 --- a/client/typedoc.json +++ b/client/typedoc.json @@ -1,12 +1,12 @@ { - "out": "../dc-devdocs", - "tsconfig": "./tsconfig.app.json", - "entryPointStrategy": "expand", - "entryPoints": [ - "./src" - ], - "exclude": "**/*+(index|.spec|.e2e).ts", - "externalPattern": "**/node_modules/**", - "excludeExternals": true, - "excludePrivate": true - } \ No newline at end of file + "out": "../tsdoc", + "tsconfig": "./tsconfig.app.json", + "entryPointStrategy": "expand", + "entryPoints": [ + "./src" + ], + "exclude": "**/*+(index|.spec|.e2e).ts", + "externalPattern": "**/node_modules/**", + "excludeExternals": true, + "excludePrivate": true +} \ No newline at end of file -- 2.43.0