Skip to content

Forex Monitor Automation #389

Forex Monitor Automation

Forex Monitor Automation #389

Workflow file for this run

name: Forex Monitor Automation
on:
push:
branches:
- main
schedule:
- cron: "0 19 * * 1-5" # Runs at 1900 (UTC) every workday (Check https://crontab.guru/)
jobs:
forex-monitor-automation:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/[email protected]
with:
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: '3.8'
- name: Install Python packages
run: python3 -m pip install -r requirements.txt
- name: Run Automation
run: |
cd src
python main.py ${{ secrets.FOREX_KEY }}
- name: Update the repo
run: |
git config --global user.name 'VivCh14'
git config --global user.email '[email protected]'
git commit -am "Update graphs via actions"
git push