Skip to content

Commit 74bcc07

Browse files
Setup gh-pages deployment
1 parent 39896d2 commit 74bcc07

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: 3.x
18+
19+
- run: pip install mkdocs-material
20+
21+
- run: mkdocs build -d ../build
22+
23+
- name: Deploy Blog
24+
uses: JamesIves/github-pages-deploy-action@v4
25+
with:
26+
folder: build

0 commit comments

Comments
 (0)