Skip to content

Commit 5af62db

Browse files
committed
search
1 parent 77d459f commit 5af62db

2 files changed

Lines changed: 33 additions & 4 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Dependabot auto-merge
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
dependabot:
11+
runs-on: ubuntu-latest
12+
if: github.event.pull_request.user.login == 'dependabot[bot]'
13+
steps:
14+
- uses: dependabot/fetch-metadata@v2
15+
id: metadata
16+
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Approve github-actions updates
20+
if: steps.metadata.outputs.package-ecosystem == 'github_actions'
21+
run: gh pr review --approve "$PR_URL"
22+
env:
23+
PR_URL: ${{ github.event.pull_request.html_url }}
24+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
26+
- name: Enable auto-merge for github-actions updates
27+
if: steps.metadata.outputs.package-ecosystem == 'github_actions'
28+
run: gh pr merge --auto --squash "$PR_URL"
29+
env:
30+
PR_URL: ${{ github.event.pull_request.html_url }}
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎www/docs/.vitepress/config.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@ export default defineConfig({
134134
copyright: "Apache 2.0 | Copyright © 2021-2025 Johann Kellerman",
135135
},
136136

137-
algolia: {
138-
appId: "ZZ2YT4M4EY",
139-
apiKey: "3fda4c9bd770052e9e3ebeb213af2a82",
140-
indexName: "sunsynk",
137+
search: {
138+
provider: "local",
141139
},
142140
},
143141
markdown: {

0 commit comments

Comments
 (0)