ci(builds.sr.ht): move setup chore to setup step

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-10-07 01:08:30 +08:00
parent 8362b6390e
commit 38b4b39aed
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8

View file

@ -2,7 +2,7 @@ image: alpine/edge
environment:
FF_ENABLE_COMMIT_DATA: "true"
FF_GENERATE_SOCIAL_CARDS: "true"
SKIP_VENV_SETUP: "true"
#SKIP_VENV_SETUP: "true"
packages:
- openssh-client
- rsync
@ -27,12 +27,13 @@ triggers:
cc: ajhalili2006@gmail.com
tasks:
# in case of triggered from hottub
- repo-sync: |
cd web
- build: |
- setup: |
# https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
sudo rm /usr/lib/python3*/EXTERNALLY-MANAGED -rfv
# add pipenv for now
pip3 install pipenv --user
- build: |
cd web
# our build script handles both the install and build stuff itself