Skip to content

Commit

Permalink
Add convert_to_mdx github action step back
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyliu7321 committed Dec 15, 2023
1 parent 2c07e24 commit c938fd9
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/generate_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@ jobs:
commit_message: atproto-openapi-types/spec/api.json updated
file_pattern: atproto-openapi-types/lexicons atproto-openapi-types/spec/api.json

# convert_to_mdx:
# runs-on: ubuntu-latest
# needs: generate_openapi_schema

# steps:
# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '18'

# - name: Install dependencies
# run: npm install

# - name: Generate Docusaurus API Docs
# run: npm run docusaurus gen-api-docs bskyApi

# - name: Commit MDX updates
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: MDX documentation updated
# file_pattern: ./docs/api
convert_to_mdx:
runs-on: ubuntu-latest
needs: generate_openapi_schema

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Generate Docusaurus API Docs
run: npm run docusaurus gen-api-docs bskyApi

- name: Commit MDX updates
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: MDX documentation updated
file_pattern: ./docs/api

0 comments on commit c938fd9

Please sign in to comment.