File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Format-api-docs
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ format-api-docs :
8
+ runs-on : ubuntu-latest
9
+
10
+ permissions :
11
+ contents : write
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ ref : ${{ github.head_ref }}
17
+
18
+ - uses : actions/checkout@v4
19
+ - uses : actions/setup-python@v5
20
+ with :
21
+ python-version : ' 3.10'
22
+ - uses : hynek/setup-cached-uv@v1
23
+ - run : |
24
+ echo Installing warnet python package for cli
25
+ uv venv
26
+ uv pip install -e .
27
+
28
+ - name : Run apidocs script
29
+ run : |
30
+ source .venv/bin/activate
31
+ python3 resources/scripts/apidocs.py
32
+
33
+ - name : Run graphdocs script
34
+ run : |
35
+ source .venv/bin/activate
36
+ python3 resources/scripts/graphdocs.py
37
+
38
+ - uses : stefanzweifel/git-auto-commit-action@v5
39
+ with :
40
+ commit_message : Update apidocs and/or graphdocs
You can’t perform that action at this time.
0 commit comments