Skip to content

Update main.yml

Update main.yml #576

Workflow file for this run

# # This workflow will install Python dependencies, run get_data_daily.py and then train_model_daily.py every 1 minute
# name: Daily Data Update
# on:
# schedule:
# - cron: '30 21 * * *'
# workflow_dispatch:
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.8
# uses: actions/setup-python@v2
# with:
# python-version: "3.8"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# - name: Run get_data_daily.py
# run: |
# python get_data_daily.py
# - name: Run train_model_daily.py
# run: |
# python train_model_daily.py
# - name: push to main branch
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Mohamed Abd-El-Gani"
# git add .
# git commit -m "Updating Via Actions Workflows "
# git push origin master