Skip to content

Commit 4843634

Browse files
committed
Add uv path to deployment workflow
1 parent d983cbe commit 4843634

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
echo "🐍 Setting up Python backend..."
147147
if ! command -v uv &> /dev/null; then
148148
curl -LsSf https://astral.sh/uv/install.sh | sh
149+
export PATH="\$HOME/.cargo/bin:\$PATH"
149150
fi
150151
uv venv
151152
source .venv/bin/activate
@@ -441,13 +442,12 @@ jobs:
441442
442443
# Backend setup
443444
echo "🐍 Setting up Python backend..."
444-
if [ -d .venv ]; then
445-
source .venv/bin/activate
446-
else
447-
python3 -m venv .venv
448-
source .venv/bin/activate
445+
if ! command -v uv &> /dev/null; then
446+
curl -LsSf https://astral.sh/uv/install.sh | sh
447+
export PATH="$HOME/.cargo/bin:$PATH"
449448
fi
450-
pip install --quiet uv
449+
uv venv
450+
source .venv/bin/activate
451451
uv sync --no-dev
452452
453453
# Frontend setup (production build)

0 commit comments

Comments
 (0)