File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : MkDocs Deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - develop
6
+ - main
7
+ paths :
8
+ - ' docs/**'
9
+ permissions :
10
+ contents : write
11
+ jobs :
12
+ # https://github.com/marketplace/actions/mkdocs-deployment
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/setup-python@v5
17
+ with :
18
+ python-version : 3.12.6
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 0 # otherwise, you will failed to push refs to dest repo
22
+ - name : Install MkDocs
23
+ run : pip install mkdocs
24
+ - name : Build MkDocs
25
+ run : cd docs && mkdocs build
26
+ - name : Deploy to GitHub Pages
27
+ uses : JamesIves/github-pages-deploy-action@v4
28
+ with :
29
+ branch : gh-pages # デプロイ先のブランチ
30
+ folder : site # ビルド結果のディレクトリ
31
+ token : ${{ secrets.GITHUB_TOKEN }}
32
+ # deploy:
33
+ # runs-on: ubuntu-20.04
34
+ # steps:
35
+ # - name: Configure Pages
36
+
37
+ # - name: Deploy to Pages
38
+
Original file line number Diff line number Diff line change 13
13
" jebbs.plantuml" ,
14
14
" hediet.vscode-drawio" ,
15
15
" figma.figma-vscode-extension" ,
16
+ " redhat.vscode-yaml" ,
16
17
]
17
18
}
You can’t perform that action at this time.
0 commit comments