mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-25 01:43:41 +00:00
ci(builds.sr.ht): do some additional fixes on both config and build script
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
a57c035e8e
commit
4551899097
1 changed files with 8 additions and 2 deletions
10
.build.yml
10
.build.yml
|
@ -2,8 +2,10 @@ image: alpine/edge
|
|||
environment:
|
||||
FF_ENABLE_COMMIT_DATA: "true"
|
||||
FF_GENERATE_SOCIAL_CARDS: "true"
|
||||
SKIP_VENV_SETUP: "true"
|
||||
packages:
|
||||
- openssh-client
|
||||
- rsync
|
||||
- python3
|
||||
- py3-pip
|
||||
- py3-wheel
|
||||
|
@ -28,8 +30,12 @@ tasks:
|
|||
- repo-sync: |
|
||||
cd web
|
||||
- build: |
|
||||
sudo rm /usr/lib/python3*/EXTERNALLY_MANAGED -rfv || true
|
||||
cd tildeweb && pip3 install -r requirements.txt --user
|
||||
# https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
|
||||
sudo rm /usr/lib/python3*/EXTERNALLY-MANAGED -rfv
|
||||
|
||||
cd web
|
||||
|
||||
# our build script handles both the install and build stuff itself
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
bash ./build.sh
|
||||
- generate-archive: |
|
||||
|
|
Loading…
Reference in a new issue