Skip to content

fix: Update IndexNow API key to working Bing key #21

fix: Update IndexNow API key to working Bing key

fix: Update IndexNow API key to working Bing key #21

name: Generate API docs
on:
push:
branches:
- main
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Generate API docs
run: npx docusaurus gen-api-docs all
- name: Configure Git
run: |
git config --global user.name "Dev-Docs"
git config --global user.email "[email protected]"
- name: Pull latest changes
run: git pull origin main
- name: Commit changes
run: |
git add docs/api
git commit -m "Generate API docs"
git push