Add UXP v2.0.7-up.3 release notes #128
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: Sync Pylon KB to Algolia | ||
| on: | ||
| schedule: | ||
| - cron: '0 3 * * * | ||
| workflow_dispatch: | ||
| jobs: | ||
| sync: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22' | ||
| cache: 'npm' | ||
| - name: Install dependencies | ||
| run: npm ci | ||
| - name: Sync Pylon KB → Algolia | ||
| run: npm run sync-pylon | ||
| env: | ||
| PYLON_API_KEY: ${{ secrets.PYLON_API_KEY }} | ||
| ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} | ||
| ALGOLIA_APP_ID: ${{ vars.ALGOLIA_APP_ID }} | ||
| ALGOLIA_INDEX_NAME: ${{ vars.ALGOLIA_INDEX_NAME }} | ||
| PYLON_KB_PORTAL_URL: ${{ vars.PYLON_KB_PORTAL_URL }} | ||
| PYLON_VISIBILITY: ${{ vars.PYLON_VISIBILITY }} | ||
| SYNC_MODE: ${{ vars.SYNC_MODE }} | ||