Generate DBs #939
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: Generate DBs | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate DBs | |
run: | | |
set -euo pipefail | |
git config --global user.email "[email protected]" | |
git config --global user.name "The CI/CD Bot" | |
curl --fail --location https://raw.githubusercontent.com/theypsilon/MAD_Database_MiSTer/main/.github/generate_db.py > generate_db.py | |
chmod +x generate_db.py | |
./generate_db.py |