Fix empty pw tag (#171) #44
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: Build docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build Docs | |
steps: | |
# first checkout your code | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# then use redoc-cli-github-action to generate your HTML bundle | |
- name: Generate and rename Redoc documentation | |
run: | | |
npx redoc-cli bundle testomat-api-definition.yml | |
mv redoc-static.html index.html | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 # https://github.com/peaceiris/actions-gh-pages | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: . | |
force_orphan: true | |
exclude_assets: '.github,src,bin,test,LICENSE,README.md' |