mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 08:23:40 +00:00
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:
parent
8362b6390e
commit
38b4b39aed
1 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@ 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"
|
#SKIP_VENV_SETUP: "true"
|
||||||
packages:
|
packages:
|
||||||
- openssh-client
|
- openssh-client
|
||||||
- rsync
|
- rsync
|
||||||
|
@ -27,12 +27,13 @@ triggers:
|
||||||
cc: ajhalili2006@gmail.com
|
cc: ajhalili2006@gmail.com
|
||||||
tasks:
|
tasks:
|
||||||
# in case of triggered from hottub
|
# in case of triggered from hottub
|
||||||
- repo-sync: |
|
- setup: |
|
||||||
cd web
|
|
||||||
- build: |
|
|
||||||
# https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
|
# https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
|
||||||
sudo rm /usr/lib/python3*/EXTERNALLY-MANAGED -rfv
|
sudo rm /usr/lib/python3*/EXTERNALLY-MANAGED -rfv
|
||||||
|
|
||||||
|
# add pipenv for now
|
||||||
|
pip3 install pipenv --user
|
||||||
|
- build: |
|
||||||
cd web
|
cd web
|
||||||
|
|
||||||
# our build script handles both the install and build stuff itself
|
# our build script handles both the install and build stuff itself
|
||||||
|
|
Loading…
Reference in a new issue