Skip to content

Commit 5164295

Browse files
committed
attempt 2
1 parent a5e90ef commit 5164295

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ jobs:
108108
restore-keys: |
109109
docs-bot-
110110
- run: pip install -r ai/docbot/requirements.txt
111+
- run: |
112+
git config user.name github-actions[bot]
113+
git config user.email github-actions[bot]@users.noreply.github.com
111114
- name: Deploy to HuggingFace
112115
env:
113116
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

ai/docbot/deploy_to_hf.sh

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if [ ! -d "$DEST_PATH" ]; then
2222
mkdir -p "$DEST_PATH"
2323
fi
2424

25+
# Build the docs index
26+
python ai/docbot/docs_index.py --build-index
27+
2528
# Get the path of this script which is the demo dir.
2629
DEMO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2730

0 commit comments

Comments
 (0)