Merge branch 'main' into event-calendar #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update financial dashboard" | |
on: | |
push: | |
paths: | |
- automation/finanse/finanse.csv | |
- .github/workflows/finance.yaml | |
schedule: | |
- cron: "0 4 * * 0" | |
jobs: | |
dashboard: | |
runs-on: ubuntu-latest | |
name: Update financial dashboard | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.10' | |
- name: Update dashboard | |
run: | | |
cd automation/finanse | |
pip install -r requirements.txt | |
python dashboard.py | |
git add ../../layouts/shortcodes/finanse.html | |
- name: Commit Changes | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Automated financial dashboard snapshot |