Skip to content

Commit

Permalink
install uv (and not pip install) for deploying docbot on GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Aug 24, 2024
1 parent 4087683 commit a6c222a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ jobs:
path: .cache
restore-keys: |
docs-bot-
- run: pip install -r ai/docbot/requirements.txt
# install uv
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
Expand Down
3 changes: 0 additions & 3 deletions ai/docbot/deploy_to_hf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ if [ ! -d "$DEST_PATH" ]; then
mkdir -p "$DEST_PATH"
fi

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Build the docs index
cd ai/docbot && uv run docs_index.py --build-index && cd -

Expand Down

0 comments on commit a6c222a

Please sign in to comment.