Commit 1e01a4c 1 parent 4f9a6d7 commit 1e01a4c Copy full SHA for 1e01a4c
File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Auto-deployment of Documentation
2
2
on :
3
3
push :
4
4
branches : [ master ]
5
- pull_request :
6
- branches : [ master ] # TODO: This is added for testing purposes. Remove it later.
7
5
jobs :
8
6
build-docs :
9
7
runs-on : ubuntu-latest
39
37
cp -r _build/* ../gh-pages/
40
38
41
39
- name : Deploy documentation.
42
- if : ${{ github.event_name == 'pull_request ' }} # TODO: Swith back to 'push' later.
40
+ if : ${{ github.event_name == 'push ' }}
43
41
44
42
with :
45
43
branch : gh-pages
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ docs-via-gpt:
66
66
@for file in src/sssom/* .py; do \
67
67
if [ " $$ file" != " src/sssom/__init__.py" ]; then \
68
68
filename=$$(basename -- "$$file" .py) ; \
69
- codergpt --model gemini-pro document $$ file -o " docs/$$ filename.rst" ; \
69
+ codergpt document $$ file -o " docs/$$ filename.rst" ; \
70
70
fi \
71
71
done
72
72
You can’t perform that action at this time.
0 commit comments