Skip to content

Merge pull request #18 from 16bravo/feature/ajout_json_page_html_stat… #16

Merge pull request #18 from 16bravo/feature/ajout_json_page_html_stat…

Merge pull request #18 from 16bravo/feature/ajout_json_page_html_stat… #16

Workflow file for this run

name: DB Initialisation
on:
push:
branches:
- main
jobs:
init_db:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: pip install -r requirements.txt
- name: Create .kaggle directory
run: mkdir -p /home/runner/.kaggle
- name: Set up Kaggle credentials
run: echo "$KAGGLE_JSON" > /home/runner/.kaggle/kaggle.json && chmod 600 /home/runner/.kaggle/kaggle.json
env:
KAGGLE_JSON: ${{ secrets.KAGGLE_JSON }}
- name: Run initialization script
run: python scripts/db_initialisation.py