diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f47faea..59b88c4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,9 +20,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # - run: npm run docs - # - name: Deploy docs - # uses: JamesIves/github-pages-deploy-action@4.1.5 - # with: - # branch: gh-pages - # folder: docs + - run: npm run docs + - name: Deploy docs + uses: JamesIves/github-pages-deploy-action@4.1.5 + with: + branch: gh-pages + folder: docs diff --git a/package.json b/package.json index 2f2b085..44a8c8e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "version": "auto-changelog --hide-credit -p && git add CHANGELOG.md", "_lint": "eslint 'index.ts' 'test/**/*.ts' jest.config.js", "lint": "npm run -- _lint --fix", - "lint-check": "npm run -- _lint --max-warnings 0" + "lint-check": "npm run -- _lint --max-warnings 0", + "docs": "typedoc index.ts --includeVersion" }, "peerDependencies": { "aws-cdk-lib": "^2.0.0",