Skip to content

Freshness

Freshness #664

Workflow file for this run

name: Freshness
on:
schedule:
- cron: "4 4 * * *"
jobs:
freshness:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ingestion/monitoring
steps:
- uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Upload freshness
env:
GDH_API_KEY: ${{ secrets.GDH_API_KEY }}
run: python freshness.py