Skip to content

Commit 3b237ce

Browse files
committed
Add search index workflow
- Relates #166
1 parent b056f01 commit 3b237ce

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Rebuild Search Index
2+
on:
3+
workflow_dispatch:
4+
permissions:
5+
actions: write
6+
jobs:
7+
build:
8+
if: github.repository_owner == 'spring-projects'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
ref: docs-build
15+
fetch-depth: 1
16+
- name: Dispatch
17+
env:
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
run: gh workflow run rebuild-search-index.yml -r $(git rev-parse --abbrev-ref HEAD)
20+

0 commit comments

Comments
 (0)