Skip to content

Keep Algolia applications alive #339

Keep Algolia applications alive

Keep Algolia applications alive #339

Workflow file for this run

name: Keep Algolia applications alive
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
defaults:
run:
working-directory: tools/keepalive
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gautamkrishnar/keepalive-workflow@v1
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20.2.0
cache: yarn
cache-dependency-path: tools/keepalive/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run keepalive script
run: yarn start
env:
ALGOLIA_APP_IDS: ${{ secrets.ALGOLIA_APP_IDS }}
ALGOLIA_API_KEYS: ${{ secrets.ALGOLIA_API_KEYS }}
ALGOLIA_KEEPALIVE_INDEX: ${{ secrets.ALGOLIA_KEEPALIVE_INDEX }}