Skip to content

bumpversion

bumpversion #8

# Extracted from https://github.com/jizt-it/jizt-api-spec/blob/main/.github/workflows/build-docs.yml
name: Build docs
on:
push:
branches:
- stable
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build docs
run: npx @redocly/cli build-docs docs/apispec.json --output index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 # https://github.com/peaceiris/actions-gh-pages
with:
deploy_key: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
force_orphan: true
exclude_assets: '.github,openapi,.redocly.yaml,LICENSE,README.md,make.sh'