All Projects → algolia → algoliasearch-crawler-github-actions

algolia / algoliasearch-crawler-github-actions

Licence: MIT license
Algolia Crawler Github action

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to algoliasearch-crawler-github-actions

labeler
GitHub Action to assign labels to PRs based on configurable conditions
Stars: ✭ 47 (+95.83%)
Mutual labels:  actions, github-actions
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+579.17%)
Mutual labels:  actions, github-actions
actions
🧰 Collection of github actions for automation
Stars: ✭ 28 (+16.67%)
Mutual labels:  actions, github-actions
verify-changed-files
Github action to verify file changes that occur during the workflow execution.
Stars: ✭ 62 (+158.33%)
Mutual labels:  actions, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-50%)
Mutual labels:  actions, github-actions
danger-action
Execute danger action for GitHub Actions.
Stars: ✭ 24 (+0%)
Mutual labels:  actions, github-actions
ghaction-chocolatey
GitHub Action for Chocolatey, the package manager for Windows
Stars: ✭ 58 (+141.67%)
Mutual labels:  actions, github-actions
branch-names
Github action to retrieve branch or tag names with support for all events.
Stars: ✭ 99 (+312.5%)
Mutual labels:  actions, github-actions
github-action-scp
⬆️ Copy a folder to a remote server using SSH
Stars: ✭ 123 (+412.5%)
Mutual labels:  actions, github-actions
generate-og-image
Generate open graph images with Github Action from Markdown files
Stars: ✭ 32 (+33.33%)
Mutual labels:  actions, github-actions
add-an-issue-reference-action
A GitHub Action for adding a related issue reference to a pull request.
Stars: ✭ 19 (-20.83%)
Mutual labels:  actions, github-actions
setup-just
🤖 GitHub Action to install the just command runner
Stars: ✭ 21 (-12.5%)
Mutual labels:  actions, github-actions
k8s-create-secret
GitHub Action to create Kubernetes cluster secrets
Stars: ✭ 24 (+0%)
Mutual labels:  actions, github-actions
html5validator-action
GitHub Action that checks HTML5 syntax.
Stars: ✭ 27 (+12.5%)
Mutual labels:  actions, github-actions
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (+54.17%)
Mutual labels:  actions, github-actions
nextjs-github-pages
🚀 Deploy a Next.js app to Github Pages via Github Actions.
Stars: ✭ 89 (+270.83%)
Mutual labels:  actions, github-actions
Real Time Social Media Mining
DevOps pipeline for Real Time Social/Web Mining
Stars: ✭ 22 (-8.33%)
Mutual labels:  actions, github-actions
mc-publish
GitHub Action that helps you publish your Minecraft mods
Stars: ✭ 76 (+216.67%)
Mutual labels:  actions, github-actions
pin-github-action
Pin your GitHub actions to a specific hash
Stars: ✭ 38 (+58.33%)
Mutual labels:  actions, github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+258.33%)
Mutual labels:  actions, github-actions

Algolia Crawler Github Action

CircleCI

Algolia Crawler Github Action

Automatically index your website to Algolia when deploying your website with the Algolia Crawler. IMPORTANT: This Github Action is only available for Algolia users with Crawler Public API access.

Platforms support

It should be compatible with any hosts as long as you provide the correct site-url. On top of that, it has been tested with the following platforms:

  • Github Pages
  • Microsoft Azure
  • Netlify
  • Vercel

How to add this Github Action to your workflow ?

On your repository:

  • Create a Github Workflow file .github/workflows/[FILENAME].yml.
  • Add a new job after your website deployment. For the Crawler to work, it needs an up and running website.
  - name: Algolia crawler creation and crawl
    uses: algolia/[email protected]
    id: algolia_crawler
    with: # mandatory parameters
      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://example.com'

Example

Parameters to provide

Mandatory parameters

  • crawler-user-id

    User Id of your crawler account

  • crawler-api-key

    Api Key of your crawler account

  • algolia-app-id

    Algolia Application ID

  • algolia-api-key

    Algolia API Key

  • site-url

    URL of the website to crawl

Optional parameters

  • crawler-api-base-url

    Base URL of the crawler, default: https://crawler.algolia.com/api/1/

  • crawler-name

    Name of the created crawler, default: '[Github] ${{ github.repository }} ${{ github.ref }}'

  • override-config

    Boolean to define if you want your crawler config to be overriden or not, default: false

  • github-token

    Needed for adding comments to PR, default: Github Action ${{ github.token }} variable

Github secrets on your repository

We highly recommend not to define sensitive information such as Algolia and/or Crawler credentials directly in the YAML file and to use Github secrets (defined in Settings > Secrets).

Recommended

  • ALGOLIA_API_KEY

    Algolia Application ID

  • ALGOLIA_APP_ID

    Algolia API Key

  • CRAWLER_API_KEY

    Api Key of your crawler account

  • CRAWLER_USER_ID

    User Id of your crawler account

Troubleshooting

Development & Release

See CONTRIBUTING.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].