Skip to content

🕷️Algolia 搜索推送 #16

🕷️Algolia 搜索推送

🕷️Algolia 搜索推送 #16

Workflow file for this run

name: 🕷️Algolia 搜索推送
on:
workflow_run:
workflows: ["🚀部署文档"] # 指定 deploy.yml 的 name
types:
- completed # 仅在 deploy.yml 完成后触发
jobs:
algolia_crawl:
runs-on: ubuntu-latest
steps:
- name: 📋检查仓库
uses: actions/checkout@v2
- name: 🦖触发 Algolia 爬虫
uses: algolia/algoliasearch-crawler-github-actions@v1
with:
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
github-token: ${{ github.token }}
crawler-name: 'rrorangeandfriends'
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
site-url: 'https://rrorangeandfriends.site/'