Skip to content

Feat: add veyfi calculator (#493) #1565

Feat: add veyfi calculator (#493)

Feat: add veyfi calculator (#493) #1565

Workflow file for this run

name: Documentation Workflow
on: [push, pull_request]
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Test Build
run: |
if [ -e yarn.lock ]; then
yarn install
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
- name: Trigger Algolia Recrawl
if: github.event_name != 'pull_request'
run: |
curl -H "Content-Type: application/json" \
-X POST \
--user ${{ secrets.CRAWLER_USER_ID }}:${{ secrets.CRAWLER_API_KEY }} \
"https://crawler.algolia.com/api/1/crawlers/${{ secrets.CRAWLER_ID }}/reindex"