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