Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit d7f8e3d

Browse files
committed
Search with lunr up and running 🚀
1 parent 6655234 commit d7f8e3d

File tree

13 files changed

+116
-638
lines changed

13 files changed

+116
-638
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ jobs:
2626
${{ runner.os }}-build-
2727
${{ runner.os }}-
2828
- name: Build
29-
env:
30-
GATSBY_ALGOLIA_APP_ID: ${{ secrets.GATSBY_ALGOLIA_APP_ID }}
31-
GATSBY_ALGOLIA_SEARCH_KEY: ${{ secrets.GATSBY_ALGOLIA_SEARCH_KEY }}
32-
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
3329
run: |
3430
sh ./scripts/install-ci.sh
3531
npm run build

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
${{ runner.os }}-build-
2323
${{ runner.os }}-
2424
- name: Publish
25-
env:
26-
GATSBY_ALGOLIA_APP_ID: ${{ secrets.GATSBY_ALGOLIA_APP_ID }}
27-
GATSBY_ALGOLIA_SEARCH_KEY: ${{ secrets.GATSBY_ALGOLIA_SEARCH_KEY }}
28-
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
2925
run: |
3026
git config --global user.email "fabrizio.duroni@gmail.com"
3127
git config --global user.name "Fabrizio Duroni"

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
with:
1919
node-version: '18'
2020
- name: Release
21-
env:
22-
GATSBY_ALGOLIA_APP_ID: ${{ secrets.GATSBY_ALGOLIA_APP_ID }}
23-
GATSBY_ALGOLIA_SEARCH_KEY: ${{ secrets.GATSBY_ALGOLIA_SEARCH_KEY }}
24-
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
2521
run: |
2622
sh ./scripts/install-ci.sh
2723
npm run build

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ My website has been created for Github Pages using:
7878
* [gatsby-plugin-feed](https://www.gatsbyjs.com/plugins/gatsby-plugin-feed/)
7979
* [gatsby-plugin-catch-links](https://www.gatsbyjs.com/plugins/gatsby-plugin-catch-links/)
8080
* [gatsby-plugin-loadable-components-ssr](https://www.gatsbyjs.com/plugins/gatsby-plugin-loadable-components-ssr/)
81-
* [gatsby-plugin-algolia](https://www.gatsbyjs.com/plugins/gatsby-plugin-algolia/)
8281
* [Styled components](https://styled-components.com)
8382
* [TypeScript](https://www.typescriptlang.org)
8483
* [Jest](https://github.com/facebook/jest) + [React Testing Library](https://github.com/testing-library/react-testing-library)
8584
* [react transition group](https://reactcommunity.org/react-transition-group/)
86-
* [algolia](https://www.algolia.com)
8785

8886
Go and checkout my [homepage](https://www.fabrizioduroni.it "homepage") and my [blog](https://www.fabrizioduroni.it/blog/ "blog").

gatsby-config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,6 @@ const config: GatsbyConfig = {
216216
`gatsby-plugin-catch-links`,
217217
`gatsby-plugin-styled-components`,
218218
`gatsby-plugin-loadable-components-ssr`,
219-
{
220-
resolve: `gatsby-plugin-algolia`,
221-
options: {
222-
appId: process.env.GATSBY_ALGOLIA_APP_ID,
223-
apiKey: process.env.ALGOLIA_ADMIN_KEY,
224-
queries: require("./src/logic/algolia"),
225-
},
226-
},
227219
{
228220
resolve: `gatsby-plugin-lunr`,
229221
options: {

0 commit comments

Comments
 (0)