Skip to content

Commit 08a181e

Browse files
committed
Initial setup of workflow.
- mkdocs.yml for testing io pages
1 parent 0ce88f4 commit 08a181e

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

.github/workflows/mkdocs.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
site_name: Humanities Data Benchmark
1+
name: Deploy MkDocs Documentation
22

3-
theme:
4-
name: material
5-
features:
6-
- navigation.instant
7-
- navigation.tracking
8-
- navigation.expand
9-
- toc.integrate
10-
- search.suggest
11-
- search.highlight
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
128

13-
nav:
14-
- Home: index.md
15-
- Overview: overview.md
16-
- Best Results: best_results.md
17-
- Tests:
18-
- Example Test 1: tests/test1.md
19-
- Example Test 2: tests/test2.md
20-
- About: about.md
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
2112

22-
markdown_extensions:
23-
- toc:
24-
permalink: true
25-
- admonition
26-
- pymdownx.details
27-
- pymdownx.superfences
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.9'
21+
22+
- name: Install MkDocs
23+
run: pip install mkdocs-material
24+
25+
- name: Generate Navigation
26+
run: python generate_reports.py
27+
28+
- name: Deploy MkDocs
29+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)