Skip to content

Commit

Permalink
generating and publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincolten committed Sep 28, 2023
1 parent 2c67c28 commit fbacc19
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: npm install typedoc

- name: Generate docs
run: npx typedoc $(find ./codegen/ -name 'index.ts')

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ test-results.xml
redis-data/
db/
lib
docs

0 comments on commit fbacc19

Please sign in to comment.