Skip to content

chore: update OpenAPI schema (#102) #79

chore: update OpenAPI schema (#102)

chore: update OpenAPI schema (#102) #79

Workflow file for this run

name: TTS
on:
push:
branches: [main]
workflow_dispatch:
jobs:
generate-tts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: 20
- name: Generate TTS audio
run: npx speak-mintlify@latest generate . $FORCE_FLAG
env:
FORCE_FLAG: ${{ github.event_name == 'workflow_dispatch' && '--force' || '' }}
FISH_API_KEY: ${{ secrets.FISH_API_KEY }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_PUBLIC_URL: ${{ vars.S3_PUBLIC_URL }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
# NOTE: the former "Cleanup Orphaned Audio" and "Create Pull Request"
# steps were removed. Pages now use the runtime page= form
# (<AudioTranscript page="..." />): the cleanup command cannot see those
# references and would delete live audio, and there is no MDX change to
# open a PR for. `generate` still uploads the audio to R2, which is all
# the page= form needs.