Skip to content

Merge pull request #217 from Interhyp/dependabot/go_modules/github.co… #161

Merge pull request #217 from Interhyp/dependabot/go_modules/github.co…

Merge pull request #217 from Interhyp/dependabot/go_modules/github.co… #161

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