Drips💧 Split Events Charts - Nightly #54
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: Drips💧 Split Events Charts - Nightly | |
on: | |
schedule: | |
- cron: 59 23 * * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: split-events/charts | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Generate Charts | |
run: | | |
python generate-charts.py | |
- name: Git Config | |
run: | | |
git config user.name 'Nya Ξlimu' | |
git config user.email '[email protected]' | |
- name: Git Commit | |
run: | | |
git add *.png | |
git commit -m 'chore(drips💧): split events charts, nightly build' --allow-empty | |
- name: Git Push | |
run: | | |
git push |