fix(build): simplify Python package installation

Condensed the installation commands to streamline the setup process. Removed redundant pip upgrade step to avoid potential conflicts and expedite build workflow. No change to the overall functionality or dependency management.
This commit is contained in:
Kumi 2024-07-01 10:07:32 +02:00
parent 61ccd25ab5
commit 22cea7ea5c
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -17,8 +17,7 @@ jobs:
run: |
apt update
apt install -y python3 python3-pip
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt --break-system-packages
python3 -m pip install -r requirements.txt --break-system-packages
- name: Generate static site
run: python3 main.py