v8.0.0 #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API Docs | |
on: release | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
- | |
name: Generate API documentation | |
run: npm install && npm run build:schema && npm run generate-docs | |
- | |
name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: docs | |
commit_message: | | |
Deploy to GitHub Pages | |
Signed-off-by: Lance Ball <[email protected]> | |
allow_empty_commit: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |