Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiscleverson authored Jan 31, 2024
1 parent 338589d commit d8c0a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
EXCLUDE: ".env, /test/, .gitignore"
SCRIPT_AFTER: |
# Criar o ambiente virtual
python3.11 -m venv /var/www/blog/venv
python3.11 -m venv /var/www/blog/.venv
# Ativar o ambiente virtual
source /var/www/blog/venv/bin/activate
source /var/www/blog/.venv/bin/activate
# Atualizar o pip e instalar as dependências
python3.11 -m pip install --upgrade pip
pip install -r /var/www/blog/requirements.txt
# Desativar o ambiente virtual
deactivate
sudo service apache2 restart
sudo service apache2 restart

0 comments on commit d8c0a8c

Please sign in to comment.