This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +116
-638
lines changed
Expand file tree Collapse file tree 13 files changed +116
-638
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
8886Go and checkout my [ homepage] ( https://www.fabrizioduroni.it " homepage ") and my [ blog] ( https://www.fabrizioduroni.it/blog/ " blog ") .
Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments