We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 226531c commit bf2c113Copy full SHA for bf2c113
.github/workflows/docs.yml
@@ -1,8 +1,15 @@
1
name: Docs
2
+
3
on:
4
push:
- branches: ["main"]
5
- tags: ["v*"]
+ branches:
6
+ - main
7
+ tags:
8
+ - v*
9
+ paths-ignore:
10
+ - LICENSE
11
+ - README.md
12
+ workflow_dispatch:
13
14
permissions:
15
contents: write
@@ -11,6 +18,16 @@ jobs:
18
docs:
19
runs-on: ubuntu-latest
20
steps:
- - uses: actions-ext/yardang@main
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-python@v5
23
+ with:
24
+ python-version: '3.11'
25
+ - run: pip install yardang
26
+ - run: yardang build
27
+ - name: Deploy
28
+ uses: peaceiris/actions-gh-pages@v4
29
with:
16
- token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_branch: gh-pages
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ publish_dir: docs/html
33
+ force_orphan: true
0 commit comments