Skip to content

Merge pull request #15 from rgmacalintal/master #30

Merge pull request #15 from rgmacalintal/master

Merge pull request #15 from rgmacalintal/master #30

name: Build and Deploy OpenAPI Specs
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: building using redoc-cli
run: |
npx redoc-cli bundle schema/sequence.yml -o redoc/index.html
- name: Deploy GitHub Pages (only on master branch)
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: redoc