From 61bf2af24caf547cd4f9e5bec7f70fdde9d06084 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 25 Jul 2023 16:25:03 +0200 Subject: [PATCH] fix: variable... --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 24d0813..0e1e7bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ trigger: - 2022-2023 steps: - - name: Build Opytex {{ .build.branch}} + - name: Build Opytex {{ DRONE_BRANCH }} image: python:3.8-alpine volumes: - name: pelican-output @@ -17,7 +17,7 @@ steps: - apk add --no-cache git imagemagick-dev imagemagick - git submodule init - git submodule update - - git clone https://git.opytex.org/lafrite/{{ .build.branch }}.git content + - git clone https://git.opytex.org/lafrite/{{ DRONE_BRANCH }}.git content - pip install --no-cache-dir -r requirements.txt - apk add --no-cache git imagemagick-dev imagemagick - pip install --no-cache-dir -r requirements.txt @@ -38,7 +38,7 @@ steps: secret_key: from_secret: minio_secret_key source: /output - target: /enseignements/{{ .build.branch }} + target: /enseignements/{{ DRONE_BRANCH }} path_style: true delete: true