Skip to content

Commit e36cb97

Browse files
committed
Add GH pages action
Signed-off-by: Dusan Borovcanin <[email protected]>
1 parent 66cbd9d commit e36cb97

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pages.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish docs via GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
name: Deploy docs
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout master
18+
uses: actions/checkout@v4
19+
20+
- name: Deploy docs
21+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)