fix: Update IndexNow API key to working Bing key #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |