Skip to content

Commit 70859cb

Browse files
authored
Update static.yml
1 parent 56e5ad0 commit 70859cb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/static.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,25 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17-
17+
1818
- name: Setup Python
1919
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.12' # Use the latest available Python version
2222

23+
- name: Install wkhtmltopdf
24+
run: sudo apt-get update && sudo apt-get install -y wkhtmltopdf
25+
2326
- name: Install dependencies
2427
run: pip install --no-cache-dir -r requirements.txt
2528

26-
- name: Generate PDF from HTML
29+
- name: Generate MD to HTML
2730
run: python compile.py
28-
31+
2932
- name: Upload artifact
3033
uses: actions/upload-pages-artifact@v3
3134

35+
3236
deploy:
3337
needs: build
3438
environment:

0 commit comments

Comments
 (0)