Skip to content

Commit

Permalink
Upgrade pip in the deployment process. (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo authored Sep 24, 2024
1 parent 71387e4 commit 7a342a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
cd /home/ubuntu/smartapi
source .env/bin/activate
echo "Installing backend requirements."
pip install --upgrade pip
pip install -Ur requirements.txt --no-cache-dir --ignore-installed --force-reinstall
echo "Restarting smartapi backend services..."
sudo systemctl restart smartapi@8000
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
cd /home/ubuntu/smartapi
source .env/bin/activate
echo "Installing backend requirements."
pip install --upgrade pip
pip install -Ur requirements.txt --no-cache-dir --ignore-installed --force-reinstall
echo "Restarting smartapi backend services..."
sudo systemctl restart smartapi@8000
Expand Down

0 comments on commit 7a342a6

Please sign in to comment.