You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,5 +41,27 @@ Or from `conda-forge` via `conda`:
41
41
conda install yardang -c conda-forge
42
42
```
43
43
44
+
## GitHub Action
45
+
46
+
A convenient [github action](https://github.com/actions-ext/yardang) is provided to publish documentation automatically in CI.
47
+
48
+
```yaml
49
+
name: Docs
50
+
on:
51
+
push:
52
+
branches: ["main"]
53
+
tags: ["v*"]
54
+
workflow_dispatch:
55
+
permissions:
56
+
contents: write
57
+
jobs:
58
+
docs:
59
+
runs-on: ubuntu-latest
60
+
steps:
61
+
- uses: actions-ext/yardang@main
62
+
with:
63
+
token: ${{ secrets.GITHUB_TOKEN }}
64
+
```
65
+
44
66
> [!NOTE]
45
67
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).
0 commit comments