Skip to content

Commit

Permalink
Fix algolia search by rolling back library version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tteixeira committed Jan 20, 2024
1 parent 75d7eed commit 058122b
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 172 deletions.
47 changes: 23 additions & 24 deletions .github/workflows/postbuild-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,31 @@ jobs:
- run: npm install
- run: npm run export
- name: Run build-search-index script
run: node ./scripts/build-search-index.js "${{ secrets.ALGOLIA_SECRET }}"
run: node ./scripts/build-search-index.js
env:
ALGOLIA_SECRET: ${{ secrets.ALGOLIA_SECRET }}
GIBBERISH: ${{ secrets.GIBBERISH }}
# build-sitemap:
# runs-on: ubuntu-latest
# name: Build sitemap
build-sitemap:
runs-on: ubuntu-latest
name: Build sitemap

# steps:
# - name: Checkout the repo
# uses: actions/checkout@v3
steps:
- name: Checkout the repo
uses: actions/checkout@v3

# - name: Setup node, build the site, and generate the sitemap
# id: sitemap
# uses: actions/setup-node@v3
# with:
# node-version: "20"
# - run: npm install
# - run: npm run export
# - run: npm run sitemap
- name: Setup node, build the site, and generate the sitemap
id: sitemap
uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm install
- run: npm run export
- run: npm run sitemap

# - name: Create Pull Request
# uses: peter-evans/create-pull-request@v3
# with:
# title: "Automated sitemap update"
# body: >
# Sitemap updated by the [generate-sitemap](https://github.com/cicirello/generate-sitemap)
# GitHub action. Automated pull-request generated by the
# [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "Automated sitemap update"
body: >
Sitemap updated by the [generate-sitemap](https://github.com/cicirello/generate-sitemap)
GitHub action. Automated pull-request generated by the
[create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
Loading

0 comments on commit 058122b

Please sign in to comment.