From 38b4b39aed41e79f8c26617c8825f70b7a84f355 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 7 Oct 2023 01:08:30 +0800 Subject: [PATCH] ci(builds.sr.ht): move setup chore to setup step Signed-off-by: Andrei Jiroh Halili --- .build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 365bceb..58de663 100644 --- a/.build.yml +++ b/.build.yml @@ -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