Add search index workflow

- Relates #166
This commit is contained in:
Janne Valkealahti
2023-04-18 13:21:18 +01:00
parent b056f01257
commit 3b237ceb33

View File

@@ -0,0 +1,20 @@
name: Rebuild Search Index
on:
workflow_dispatch:
permissions:
actions: write
jobs:
build:
if: github.repository_owner == 'spring-projects'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: docs-build
fetch-depth: 1
- name: Dispatch
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run rebuild-search-index.yml -r $(git rev-parse --abbrev-ref HEAD)