Skip to content

add registry env

add registry env #8

Workflow file for this run

name: Swagger UI deployment
on:
push:
branches: [ main ]
workflow_dispatch: {}
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
version: "5.3.1"
output: swagger-ui
spec-file: templatespiler-server/openapi.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: swagger-ui
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2