Skip to content

Generate Random Production Data #316

Generate Random Production Data

Generate Random Production Data #316

name: Generate Random Production Data
on:
workflow_dispatch:
schedule:
- cron: "0/15 * * * *"
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7.16
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Python script
run: |
API_KEY=${{ secrets.HOPSWORKS_API_KEY }}
python ./src/inference/automated_data_generation.py --api-key $API_KEY