Skip to content

Commit

Permalink
[ISSUE #2469]Update jekyll-gh-pages.yml (#2470)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm authored Feb 1, 2025
1 parent 9222f8b commit e18b7a7
Showing 1 changed file with 7 additions and 38 deletions.
45 changes: 7 additions & 38 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,47 +53,16 @@ jobs:
id: deployment
uses: actions/deploy-pages@v4

# - name: Sleep for 30s
# run: sleep 30
#
# - 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_pages'
# site-url: 'https://rocketmq-rust.ljbmxsm.com'
# override-config: true
# - name: Update Algolia index
# working-directory: docs/
# run: bundle exec jekyll algolia push
# env:
# ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
# continue-on-error: true
algolia_recrawl:
name: Algolia Recrawl
runs-on: ubuntu-latest
steps:
# checkout this repo
- name: Checkout Repo
uses: actions/checkout@v4

# We don't know when the site will be deployed, we just wait a few seconds
# Better solutions can be found
- name: Sleep for 30s
run: sleep 30

- name: Github-pages-MAIN => Algolia crawler creation and recrawl (Push on Main branch)
uses: algolia/algoliasearch-crawler-github-actions@v1
id: crawler_push
with:
- 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 }}
site-url: 'https://rocketmq-rust.ljbmxsm.com'
crawler-name: 'rocketmq_rust_ljbmxsm_com_a7p4xel1x0_pages'
site-url: 'https://rocketmq-rust.ljbmxsm.com'
override-config: true


0 comments on commit e18b7a7

Please sign in to comment.