Skip to content

Merge pull request #627 from supabase/fix/typegen-function-variants-o… #243

Merge pull request #627 from supabase/fix/typegen-function-variants-o…

Merge pull request #627 from supabase/fix/typegen-function-variants-o… #243

Workflow file for this run

name: Docs
on:
push:
branches:
- master
workflow_dispatch:
jobs:
docs:
name: Publish docs
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: |
npm clean-install
npm run docs:export
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
output: docs
spec-file: openapi.json
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
force_orphan: true
commit_message: 'docs: update'