Skip to content

03 - Python Script Workflow #968

03 - Python Script Workflow

03 - Python Script Workflow #968

name: 03 - Python Script Workflow
on:
schedule:
- cron: "0 2 * * MON-FRI" # Runs at 02:00 UTC
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v2 # Checkout the repository content to github runner.
- name: Setup Python Version
uses: actions/setup-python@v2
with:
python-version: 3.8 # Install the python version needed
- name: Install Python dependencies
run: python -m pip install --upgrade pip requests
- name: Execute Python script # Run the run.py to get the latest data
run: python run.py