Remove clsx library from dashboard (#30311) #1
This file contains 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: '[Docs] Sync troubleshooting guides to GitHub Discussions' | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'apps/docs/content/troubleshooting/**' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-troubleshooting: | |
runs-on: ubuntu-latest | |
env: | |
SEARCH_GITHUB_APP_ID: ${{ secrets.SEARCH_GITHUB_APP_ID }} | |
SEARCH_GITHUB_APP_INSTALLATION_ID: ${{ secrets.SEARCH_GITHUB_APP_INSTALLATION_ID }} | |
SEARCH_GITHUB_APP_PRIVATE_KEY: ${{ secrets.SEARCH_GITHUB_APP_PRIVATE_KEY }} | |
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SEARCH_SUPABASE_URL }} | |
SUPABASE_SECRET_KEY: ${{ secrets.SEARCH_SUPABASE_SERVICE_ROLE_KEY }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
apps/docs | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Troubleshooting script | |
run: npm --prefix=apps/docs run troubleshooting:sync | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 | |
with: | |
commit-message: '[bot] sync troubleshooting guides to db' | |
title: '[bot] sync troubleshooting guides to db' | |
author: 'github-docs-sync-bot <github-docs-sync-bot@supabase.com>' | |
branch: 'bot/docs-sync-troubleshooting' | |
branch-suffix: 'random' |