Skip to content

Run network.py weekly #3

Run network.py weekly

Run network.py weekly #3

Workflow file for this run

name: Run network.py weekly
on:
schedule:
- cron: '0 0 * * 0' # This cron expression runs the job every Sunday at midnight
jobs:
run-network-script:
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' # Specify the required Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r network/requirements.txt # Make sure you have a requirements.txt file
- name: Run network.py
run: python network/network.py