Skip to content

Commit 226531c

Browse files
committed
.
1 parent aa1c9eb commit 226531c

1 file changed

Lines changed: 4 additions & 21 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
name: Docs
2-
32
on:
43
push:
5-
branches:
6-
- main
7-
tags:
8-
- v*
9-
paths-ignore:
10-
- LICENSE
11-
- README.md
12-
workflow_dispatch:
4+
branches: ["main"]
5+
tags: ["v*"]
136

147
permissions:
158
contents: write
@@ -18,16 +11,6 @@ jobs:
1811
docs:
1912
runs-on: ubuntu-latest
2013
steps:
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
14+
- uses: actions-ext/yardang@main
2915
with:
30-
publish_branch: gh-pages
31-
github_token: ${{ secrets.GITHUB_TOKEN }}
32-
publish_dir: docs/html
33-
force_orphan: true
16+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)