Use pip and venv for installation
This commit is contained in:
parent
50dad0e80f
commit
6a6be1f922
20
.drone.yml
20
.drone.yml
@ -16,9 +16,9 @@ steps:
|
|||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add imagemagick
|
- apk add imagemagick
|
||||||
- python3 -m pip install --user pipx
|
- python3 -m venv venv
|
||||||
- export PATH=/root/.local/bin:$PATH
|
- . venv/bin/activate
|
||||||
- pipx install lektor==3.3.8
|
- pip install -r requirements.txt
|
||||||
- lektor build
|
- lektor build
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -38,9 +38,9 @@ steps:
|
|||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
commands:
|
commands:
|
||||||
- apk add imagemagick
|
- apk add imagemagick
|
||||||
- python3 -m pip install --user pipx
|
- python3 -m venv venv
|
||||||
- export PATH=/root/.local/bin:$PATH
|
- . venv/bin/activate
|
||||||
- pipx install lektor==3.3.8
|
- pip install -r requirements.txt
|
||||||
- lektor build
|
- lektor build
|
||||||
- apk add rsync openssh
|
- apk add rsync openssh
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
@ -56,9 +56,9 @@ steps:
|
|||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
commands:
|
commands:
|
||||||
- apk add imagemagick
|
- apk add imagemagick
|
||||||
- python3 -m pip install --user pipx
|
- python3 -m venv venv
|
||||||
- export PATH=/root/.local/bin:$PATH
|
- . venv/bin/activate
|
||||||
- pipx install lektor==3.3.8
|
- pip install -r requirements.txt
|
||||||
- lektor build
|
- lektor build
|
||||||
- apk add rsync openssh
|
- apk add rsync openssh
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
@ -70,6 +70,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a04843afc36b75a13b62544539985bbf077d27f55d482737a3a20b33163d4eb9
|
hmac: 1634ef6329d6399a622c569b06bf084859854e34958585f2a83bd2f0b1bb47ca
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user