Skip to content

Commit

Permalink
[ISSUE #2477] Update jekyll-gh-pages.yml action (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm authored Feb 1, 2025
1 parent 6ea703f commit 9b37087
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,22 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

- name: Algolia crawler creation and crawl
uses: algolia/algoliasearch-crawler-github-actions@v1.0.10
id: algolia_crawler
with: #https://github.com/marketplace/actions/algolia-crawler-automatic-crawl
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
crawler-name: 'rocketmq-rust.ljbmxsm.com_A7P4XEL1X0'
site-url: 'https://rocketmq-rust.ljbmxsm.com'
override-config: true
- name: Update Algolia index
working-directory: rocketmq-doc/
run: bundle exec jekyll algolia push
env:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
continue-on-error: true
# - name: Algolia crawler creation and crawl
# uses: algolia/algoliasearch-crawler-github-actions@v1.0.10
# id: algolia_crawler
# with: #https://github.com/marketplace/actions/algolia-crawler-automatic-crawl
# crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
# crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
# algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
# algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
# crawler-name: 'rocketmq-rust.ljbmxsm.com_A7P4XEL1X0'
# site-url: 'https://rocketmq-rust.ljbmxsm.com'
# override-config: true


0 comments on commit 9b37087

Please # to comment.