From 6a6be1f922b0536f8367e6383fa0b79cce3a7a75 Mon Sep 17 00:00:00 2001 From: Brain Date: Tue, 2 May 2023 22:37:07 +0200 Subject: [PATCH] Use pip and venv for installation --- .drone.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index e287097..99e9766 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,9 +16,9 @@ steps: image: python:3.10-alpine commands: - apk add imagemagick - - python3 -m pip install --user pipx - - export PATH=/root/.local/bin:$PATH - - pipx install lektor==3.3.8 + - python3 -m venv venv + - . venv/bin/activate + - pip install -r requirements.txt - lektor build --- @@ -38,9 +38,9 @@ steps: from_secret: drone_ssh_key commands: - apk add imagemagick - - python3 -m pip install --user pipx - - export PATH=/root/.local/bin:$PATH - - pipx install lektor==3.3.8 + - python3 -m venv venv + - . venv/bin/activate + - pip install -r requirements.txt - lektor build - apk add rsync openssh - mkdir ~/.ssh @@ -56,9 +56,9 @@ steps: from_secret: drone_ssh_key commands: - apk add imagemagick - - python3 -m pip install --user pipx - - export PATH=/root/.local/bin:$PATH - - pipx install lektor==3.3.8 + - python3 -m venv venv + - . venv/bin/activate + - pip install -r requirements.txt - lektor build - apk add rsync openssh - mkdir ~/.ssh @@ -70,6 +70,6 @@ steps: --- kind: signature -hmac: a04843afc36b75a13b62544539985bbf077d27f55d482737a3a20b33163d4eb9 +hmac: 1634ef6329d6399a622c569b06bf084859854e34958585f2a83bd2f0b1bb47ca ...