docs(locadex): update translations on main #2955
Workflow file for this run
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: Update Algolia Search | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 4 * * *' | |
| env: | |
| PYTHONUNBUFFERED: 1 # Force the stdout and stderr streams to be unbuffered | |
| jobs: | |
| update-search: | |
| if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'update search') && github.event.pull_request.base.ref == 'main') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Run Prep from Master | |
| run: yarn copy-clickhouse-repo-docs -f | |
| - name: Run Auto Generate Settings | |
| run: yarn autogenerate-settings | |
| - name: Run Indexer (en) | |
| run: yarn run-indexer --locale en | |
| env: | |
| ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| ALGOLIA_APP_ID: 5H9UG7CX5W | |
| - name: Run Indexer (jp) | |
| run: yarn run-indexer --locale jp | |
| env: | |
| ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| ALGOLIA_APP_ID: 5H9UG7CX5W | |
| - name: Run Indexer (zh) | |
| run: yarn run-indexer --locale zh | |
| env: | |
| ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| ALGOLIA_APP_ID: 5H9UG7CX5W | |
| - name: Run Indexer (ru) | |
| run: yarn run-indexer --locale ru | |
| env: | |
| ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| ALGOLIA_APP_ID: 5H9UG7CX5W | |
| - name: Run Indexer (ko) | |
| run: yarn run-indexer --locale ko | |
| env: | |
| ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
| ALGOLIA_APP_ID: 5H9UG7CX5W | |
| - name: Verify Completion | |
| run: echo "All steps completed successfully!" |