Skip to content

Commit 7a342a6

Browse files
Upgrade pip in the deployment process. (#266)
1 parent 71387e4 commit 7a342a6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
cd /home/ubuntu/smartapi
4444
source .env/bin/activate
4545
echo "Installing backend requirements."
46+
pip install --upgrade pip
4647
pip install -Ur requirements.txt --no-cache-dir --ignore-installed --force-reinstall
4748
echo "Restarting smartapi backend services..."
4849
sudo systemctl restart smartapi@8000

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
cd /home/ubuntu/smartapi
4040
source .env/bin/activate
4141
echo "Installing backend requirements."
42+
pip install --upgrade pip
4243
pip install -Ur requirements.txt --no-cache-dir --ignore-installed --force-reinstall
4344
echo "Restarting smartapi backend services..."
4445
sudo systemctl restart smartapi@8000

0 commit comments

Comments
 (0)