Skip to content

Merge pull request #112 from aserto-dev/certs_update #77

Merge pull request #112 from aserto-dev/certs_update

Merge pull request #112 from aserto-dev/certs_update #77

Workflow file for this run

name: Update search index
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Read Configuration
uses: hashicorp/[email protected]
id: vault
with:
url: https://vault.eng.aserto.com/
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/algolia "API_KEY" | API_KEY;
kv/data/algolia "APPLICATION_ID" | APPLICATION_ID;
- name: Run Algolia Scrape
run: |
docker run --rm -e "APPLICATION_ID=${APPLICATION_ID}" -e API_KEY="${API_KEY}" -e "CONFIG=$(cat ./scripts/algolia-config.json)" algolia/docsearch-scraper