Skip to content

Commit 22aa073

Browse files
LAShemiltJunjiequan
authored andcommitted
adding the workflow yaml and the default from docs-template.
1 parent 68eb5cc commit 22aa073

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/mkdocs/mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INHERIT: mkdocs-default.yml
2+
# nav:
3+
# - index.md
4+
# - Example.md
5+
# - About: about/index.md

.github/workflows/publish-docs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy docs
2+
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- v*
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: SciCatProject/docs-template/.github/actions/mkdocs-pages@main
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
push: true

0 commit comments

Comments
 (0)