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:
|
environment:
|
||||||
FF_ENABLE_COMMIT_DATA: "true"
|
FF_ENABLE_COMMIT_DATA: "true"
|
||||||
FF_GENERATE_SOCIAL_CARDS: "true"
|
FF_GENERATE_SOCIAL_CARDS: "true"
|
||||||
|
SKIP_VENV_SETUP: "true"
|
||||||
packages:
|
packages:
|
||||||
- openssh-client
|
- openssh-client
|
||||||
|
- rsync
|
||||||
- python3
|
- python3
|
||||||
- py3-pip
|
- py3-pip
|
||||||
- py3-wheel
|
- py3-wheel
|
||||||
|
@ -28,8 +30,12 @@ tasks:
|
||||||
- repo-sync: |
|
- repo-sync: |
|
||||||
cd web
|
cd web
|
||||||
- build: |
|
- build: |
|
||||||
sudo rm /usr/lib/python3*/EXTERNALLY_MANAGED -rfv || true
|
# https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
|
||||||
cd tildeweb && pip3 install -r requirements.txt --user
|
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"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
bash ./build.sh
|
bash ./build.sh
|
||||||
- generate-archive: |
|
- generate-archive: |
|
||||||
|
|
Loading…
Reference in a new issue