Skip to content

Commit 36f96ed

Browse files
committed
Requirements
1 parent afb4515 commit 36f96ed

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
branches: [main]
88

99
jobs:
10-
# ─────────────────────────────────────────
11-
# 1. TESTES
12-
# ─────────────────────────────────────────
1310
test:
1411
name: Testes
1512
runs-on: ubuntu-latest
@@ -22,18 +19,15 @@ jobs:
2219
uses: actions/setup-python@v5
2320
with:
2421
python-version: "3.10"
25-
cache: "pip"
2622

2723
- name: Instalar dependências
28-
run: pip install -r requirements.txt
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
2927
3028
- name: Verificar imports
31-
run: python -c "import fastapi, uvicorn, mediapipe, sklearn, joblib, numpy, cv2; print('✅ Imports OK')"
29+
run: python -c "import fastapi, uvicorn, sklearn, joblib, numpy; print('✅ Imports OK')"
3230

33-
# ─────────────────────────────────────────
34-
# 2. DEPLOY NO RENDER
35-
# Render faz o build direto do GitHub — sem Docker Hub
36-
# ─────────────────────────────────────────
3731
deploy:
3832
name: Deploy no Render
3933
runs-on: ubuntu-latest
@@ -48,5 +42,4 @@ jobs:
4842
-H "Content-Type: application/json" \
4943
-d '{}' \
5044
"https://api.render.com/v1/services/${{ secrets.RENDER_SERVICE_ID }}/deploys"
51-
echo "✅ Deploy iniciado no Render!"
52-
echo "🔗 Acompanhe em: https://dashboard.render.com"
45+
echo "✅ Deploy iniciado!"

0 commit comments

Comments
 (0)