Skip to content

Commit 1e01a4c

Browse files
committed
rooling bacl workflow
1 parent 4f9a6d7 commit 1e01a4c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/deploy-docs.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Auto-deployment of Documentation
22
on:
33
push:
44
branches: [ master ]
5-
pull_request:
6-
branches: [ master ] #TODO: This is added for testing purposes. Remove it later.
75
jobs:
86
build-docs:
97
runs-on: ubuntu-latest
@@ -39,7 +37,7 @@ jobs:
3937
cp -r _build/* ../gh-pages/
4038
4139
- name: Deploy documentation.
42-
if: ${{ github.event_name == 'pull_request' }} #TODO: Swith back to 'push' later.
40+
if: ${{ github.event_name == 'push' }}
4341
uses: JamesIves/[email protected]
4442
with:
4543
branch: gh-pages

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ docs-via-gpt:
6666
@for file in src/sssom/*.py; do \
6767
if [ "$$file" != "src/sssom/__init__.py" ]; then \
6868
filename=$$(basename -- "$$file" .py); \
69-
codergpt --model gemini-pro document $$file -o "docs/$$filename.rst"; \
69+
codergpt document $$file -o "docs/$$filename.rst"; \
7070
fi \
7171
done
7272

0 commit comments

Comments
 (0)