Skip to content

Commit 71bd73c

Browse files
New workflow
1 parent 71b2670 commit 71bd73c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/doc_deploy.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Deploy MkDocs Site
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.x"
22+
23+
- name: Install dependencies
24+
run: pip install mkdocs mkdocs-material
25+
26+
- name: Deploy to GitHub Pages
27+
run: mkdocs gh-deploy --force

prof_web_doc/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
site_name: Prof Docs
2+
repo_url: https://github.com/AlexsanderHamir/prof
3+
edit_uri: ""

0 commit comments

Comments
 (0)