Make sure pip3 install only affects our build user without root

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-01-19 11:45:18 +00:00
parent fd5528844b
commit 6a8cfd0504
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8

View file

@ -14,7 +14,8 @@ triggers:
cc: ajhalili2006@gmail.com cc: ajhalili2006@gmail.com
tasks: tasks:
- build: | - build: |
cd tildeweb && pip3 install -r requirements.txt cd tildeweb && pip3 install -r requirements.txt --user
export PATH="$PATH:$HOME/.local/bin"
mkdocs build -d public -f mkdocs.yml && mkdocs build -d public_ctrl-c -f mkdocs.ctrl-c.yml mkdocs build -d public -f mkdocs.yml && mkdocs build -d public_ctrl-c -f mkdocs.ctrl-c.yml
- deploy: | - deploy: |
cd tildeweb cd tildeweb