Skip to content

Newman: filename fix (#187) #53

Newman: filename fix (#187)

Newman: filename fix (#187) #53

Workflow file for this run

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@v4
# 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@v4 # 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'