Skip to content

Commit

Permalink
feat(apidoc): Automatically generate and deploy API Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vsaw committed Dec 21, 2020
1 parent 6ff4c90 commit c1a83cd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/apidoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: API Documentation

on:
push:
branches:
- master
- test-api-documentation

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1

- name: Generate API Documentation
run: npm run generateapidoc

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: .build/apidoc

0 comments on commit c1a83cd

Please sign in to comment.