Skip to content

Commit

Permalink
[663/docs]: Send data to Algolia and Show search bar and search resul… (
Browse files Browse the repository at this point in the history
#668)

* [663/docs]: edit search with algolia

* create event algolia in docs.yml

* create file send data to algolia before deploying the docs

* update component searchbox

* refactor: separate function

* ci: run generate and save algolia object script

* [663/docs]: create loop data for send data algolia

* [663/docs]: edit search with algolia

* create event algolia in docs.yml

* create file send data to algolia before deploying the docs

* update component searchbox

* refactor: separate function

* ci: run generate and save algolia object script

* [663/docs]: create loop data for send data algolia

* [663/docs]: create converted md to html

* [663/docs]: edit name enviroment

* [663/docs]: edit name env

* [663/docs]: install package showdown

* feat: add page url

Co-authored-by: Hari Cahya Nugraha <[email protected]>
Co-authored-by: Hari Cahya Nugraha <[email protected]>
  • Loading branch information
3 people authored Jun 3, 2022
1 parent 8afb99a commit de7f1eb
Show file tree
Hide file tree
Showing 8 changed files with 33,847 additions and 3,453 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ jobs:
branch: gh-pages # The branch the action should deploy to.
folder: docs/out # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch

- name: Generate and Save Algolia Object
uses: actions/setup-node@v2
- run: yarn
- run: yarn run buildsearch
env:
CI: true
NEXT_PUBLIC_ALGOLIA_APPLICATION_ID: ${{secrets.NEXT_PUBLIC_ALGOLIA_APPLICATION_ID}}
ALGOLIA_ADMIN_API_KEY: ${{secrets.ALGOLIA_ADMIN_API_KEY}}
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY: ${{secrets.NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY}}
Loading

0 comments on commit de7f1eb

Please sign in to comment.