diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index 7359f9d0..d2f36f08 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -2,7 +2,7 @@ name: Generate documentation on: workflow_call: secrets: - PLAYER_CI_GH_TOKEN: + GH_TOKEN: description: GitHub token to access player-ci repo for CI scripts required: true GCS_ACCOUNT: @@ -37,9 +37,12 @@ jobs: registry-url: 'https://registry.npmjs.org/' cache: 'yarn' - - name: Install node_modules + - name: Install dependencies run: yarn install --frozen-lockfile + - name: Install dependencies (example/) + run: yarn example install --frozen-lockfile + - name: Detect version using jq run: | echo "PCI_BRANCH=$(jq -r '.version' package.json)" >> $GITHUB_ENV @@ -52,7 +55,7 @@ jobs: curl -sS -H "Authorization: token ${GH_TOKEN}" -L https://raw.githubusercontent.com/bitmovin-engineering/player-ci/master/install.sh | bash - name: Upload to CDN - run: node ./ci_scripts/src/uploadToGcs.js reactnative ./docs/generated + run: node ./ci_scripts/src/uploadToGcs.js reactnative ../../docs/generated - name: Purge CDN cache run: node ./ci_scripts/src/purgeCloudflarePath.js 'reactnative' diff --git a/typedoc.json b/typedoc.json index 1166e380..311e1f04 100644 --- a/typedoc.json +++ b/typedoc.json @@ -7,5 +7,6 @@ "excludeInternal": true, "excludeExternals": true, "includeVersion": true, - "entryPoints": ["./src"] + "entryPoints": ["./src"], + "exclude": ["./example/**/*"] }