Skip to content

Merge pull request #300 from Interhyp/updated_generator #228

Merge pull request #300 from Interhyp/updated_generator

Merge pull request #300 from Interhyp/updated_generator #228

Workflow file for this run

name: API Publisher
permissions:
contents: write
on:
push:
branches:
- main
jobs:
publish:
name: 🚀 Publish API to Github Pages
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Generate Swagger UI 🔧
uses: Legion2/swagger-ui-action@v1
with:
output: swagger-ui
spec-file: api/openapi-v3-spec.json
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: swagger-ui