Skip to content

Commit

Permalink
Fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
leosfreitas committed Dec 3, 2024
1 parent 13ad9c8 commit cf5f8df
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
fetch-depth: 0

# 2. Verificar arquivos do workspace
- name: List workspace files
- name: Verify workspace files
run: |
echo "Workspace files:"
ls -la
echo "Back directory:"
echo "Backend directory:"
ls -la ./back
# 3. Compactar arquivos para transferência
Expand Down Expand Up @@ -50,10 +50,11 @@ jobs:
script: |
cd ~/deploy
# Descompactar os arquivos
tar -xzf deploy.tar.gz
# Atualizar pacotes e instalar dependências
sudo apt update
sudo apt install -y python3-venv
# Configurar ambiente virtual e instalar dependências
# Configurar ambiente virtual e instalar DVC
python3 -m venv venv
source venv/bin/activate
pip install dvc[s3]
Expand Down

0 comments on commit cf5f8df

Please sign in to comment.