changeset for fastify websocket context extra rename #107
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: Algolia | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync: | |
name: Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: the-guild-org/shared-config/setup@v1 | |
with: | |
node-version-file: .node-version | |
- name: Install | |
working-directory: website | |
run: yarn install | |
- name: Generate documentation | |
run: yarn gendocs | |
- name: Build website | |
working-directory: website | |
run: yarn build | |
- name: Sync | |
working-directory: website | |
run: node scripts/algolia-sync.mjs | |
env: | |
ALGOLIA_APP_ID: ANRJKXZTRW | |
ALGOLIA_INDEX_NAME: searchv2_main | |
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} | |
SITE_URL: https://the-guild.dev/graphql/ws | |
- name: Upload lockfile | |
uses: actions/upload-artifact@v4 | |
with: | |
name: algolia-lockfile | |
path: website/algolia-lockfile.json |