Skip to content

Commit 57628cb

Browse files
committed
Update Workflow
1 parent 0e95f11 commit 57628cb

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/pages.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313

1414
env:
1515
CRAWLER_ID: 740ca24d-65fd-4f25-b397-16ebcec2f7fd
16+
CRAWLER_USER_ID: ${{ secrets.CRAWLER_USER_ID }}
17+
CRAWLER_API_KEY: ${{ secrets.CRAWLER_API_KEY }}
1618

1719
permissions:
1820
contents: read
@@ -89,12 +91,12 @@ jobs:
8991

9092
steps:
9193
- name: "Algolia Start Crawl"
92-
continue-on-error: true
94+
if: ${{ !cancelled() }}
9395
uses: cssnr/web-request-action@v1
9496
with:
9597
url: https://crawler.algolia.com/api/1/crawlers/${{ env.CRAWLER_ID }}/reindex
96-
username: ${{ secrets.CRAWLER_USER_ID }}
97-
password: ${{ secrets.CRAWLER_API_KEY }}
98+
username: ${{ env.CRAWLER_USER_ID }}
99+
password: ${{ env.CRAWLER_API_KEY }}
98100

99101
- name: "Send Post-Deploy Notification"
100102
if: ${{ failure() }}

.vitepress/theme/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ summary {
1818
display: inline-block;
1919
margin-right: 8px;
2020
}
21+
22+
.search-keywords {
23+
display: none;
24+
}

0 commit comments

Comments
 (0)