Skip to content

Scheduled jobs: Check search URLs #97

Scheduled jobs: Check search URLs

Scheduled jobs: Check search URLs #97

name: "Scheduled jobs: Check search URLs"
on:
schedule:
# * is a special character in YAML so you have to quote this string.
# Run every day at 3:00PM UTC.
- cron: '0 15 * * *'
workflow_dispatch:
jobs:
all:
env:
GOPATH: ${{ github.workspace }}/go
name: Check search URLs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- uses: algolia/setup-algolia-cli@master
- name: Run make check_search_urls
run: make check_search_urls
env:
SLACK_ACCESS_TOKEN: ${{ secrets.SLACK_ACCESS_TOKEN }}
ALGOLIA_APP_ID: ${{ vars.ALGOLIA_APP_ID }}
ALGOLIA_APP_SEARCH_KEY: ${{ vars.ALGOLIA_APP_SEARCH_KEY }}
ALGOLIA_APP_ADMIN_KEY: ${{ secrets.ALGOLIA_APP_ADMIN_KEY }}