Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #2469]Update jekyll-gh-pages.yml #2470

Merged
merged 1 commit into from
Feb 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[ISSUE #2469]Update jekyll-gh-pages.yml
  • Loading branch information
mxsm authored Feb 1, 2025
commit 0f2c9539d658dbaf5e6ed1d2c8ac0c023fa061ea
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


Loading