Skip to content

Commit cb74435

Browse files
committed
fix: fixed github workflow
1 parent 69bfdff commit cb74435

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,17 @@ jobs:
4747
python -m pip install --upgrade pip
4848
pip install -r requirements.txt
4949
50+
- name: Initialize database from YAML/CSV
51+
run: python database/migrate.py
52+
53+
- name: Refresh this month's papers
54+
run: python scripts/update_news.py
55+
56+
- name: Render README and docs from database
57+
run: python view/render_from_db.py
58+
5059
- name: Build MkDocs site
51-
run: mkdocs build --strict
60+
run: mkdocs build
5261

5362
- name: Setup Pages
5463
uses: actions/configure-pages@v4
@@ -69,4 +78,3 @@ jobs:
6978
- name: Deploy to GitHub Pages
7079
id: deployment
7180
uses: actions/deploy-pages@v4
72-

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ pandas==2.1.4
1414
# Web scraping for months
1515
requests==2.31.0
1616

17-
# Optional: For better database browser
18-
datasette==0.64.5
17+
# Documentation site
18+
mkdocs==1.6.0
19+
mkdocs-material==9.5.18

site/images/database.gif

-596 KB
Loading

0 commit comments

Comments
 (0)