feat: Add DB

This commit is contained in:
Marcel Cruz
2022-11-18 18:51:59 +01:00
parent ff0ca69170
commit 745a209957
13 changed files with 13729 additions and 1 deletions

20
.github/workflows/update-db.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Update DB
on:
push: { branches: main }
# schedule:
# # Every day at 00:00AM
# - cron: '0 0 * * *'
workflow_dispatch:
jobs:
update-db:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm install
- run: npm run update-db
- run: git add .
- run: git commit -m "Auto updating db" || echo "Nothing to commit"
- run: git push origin HEAD:main