Skip to content

curated lists are now collections – kind of #31

curated lists are now collections – kind of

curated lists are now collections – kind of #31

Workflow file for this run

name: Generate Swagger UI
on:
push:
branches: ["main"]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Generate Swagger UI (app | api.blinkist.com)
uses: Legion2/swagger-ui-action@v1
with:
output: build/app
spec-file: schema_api.blinkist.com.yaml
- name: Generate Swagger UI (web | blinkist.com/api)
uses: Legion2/swagger-ui-action@v1
with:
output: build/web
spec-file: schema_blinkist.com∕api.yaml
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: build
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v1