Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
penndu committed Dec 25, 2023
1 parent ee8ff00 commit fe4b23c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ jobs:
publish_branch: master
publish_dir: ./public
- name: algolia
run: hexo algolia
run: |
# hexo algolia
curl -X DELETE 'https://m.dusays.com/indexes/hexo' -H "Authorization: Bearer ${{secrets.MEILISEARCH_KEY}}"
curl -X POST 'https://m.dusays.com/indexes/hexo/documents/?primaryKey=uuid' -H "Authorization: Bearer ${{secrets.MEILISEARCH_KEY}}" -H "Content-Type: application/json" --data-binary '@public/content.json'
10 changes: 9 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,12 @@ feed:
- rss2
path:
- atom.xml
- rss2.xml
- rss2.xml
jsonContent:
meta: false
pages: false
posts:
title: true
path: true
text: true
uuid: true
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-markdown-it": "^7.1.0",
"hexo-renderer-stylus": "^3.0.0",
"hexo-uuid": "^1.0.2",
"hexo-wordcount": "^6.0.1"
}
}

0 comments on commit fe4b23c

Please sign in to comment.