fix protobuf api docs file extension

This commit is contained in:
Sacha Weatherstone 2022-08-01 10:04:56 +10:00
parent a3cd98a916
commit 21b50fc320

View file

@ -2,10 +2,10 @@ name: CI
on: on:
push: push:
branches: branches:
- "master" - 'master'
workflow_run: workflow_run:
workflows: workflows:
- "Update protobufs" - 'Update protobufs'
jobs: jobs:
deploy-website: deploy-website:
@ -26,11 +26,11 @@ jobs:
with: with:
submodules: true submodules: true
- name: Generate protobuf docs - name: Generate protobuf docs
run: protoc --doc_out="docs/developers/protobufs" --doc_opt="./protobuf.tmpl,api.md" --proto_path="protobufs" protobufs/*.proto run: protoc --doc_out="docs/developers/protobufs" --doc_opt="./protobuf.tmpl,api.mdx" --proto_path="protobufs" protobufs/*.proto
- uses: amondnet/vercel-action@v20 - uses: amondnet/vercel-action@v20
with: with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-args: "--prod" vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID}} vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}} vercel-project-id: ${{ secrets.PROJECT_ID}}
scope: ${{ secrets.ORG_ID}} scope: ${{ secrets.ORG_ID}}