From 85a3911528014a3445a7d247eb7518d61c9898a6 Mon Sep 17 00:00:00 2001 From: KingOfDog Date: Wed, 14 Sep 2022 07:50:26 +0000 Subject: [PATCH] Update 'templates/markdown/.drone.yml' --- templates/markdown/.drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/markdown/.drone.yml b/templates/markdown/.drone.yml index 761aa8f..232fe0f 100644 --- a/templates/markdown/.drone.yml +++ b/templates/markdown/.drone.yml @@ -13,6 +13,7 @@ steps: commands: - ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA` - cp out/main.pdf "$(date +"%F-%H-%M")_${DRONE_REPO_NAME}_${DRONE_BUILD_NUMBER}.pdf" + - cp out/main.pdf "${DRONE_REPO_NAME}_${DRONE_BRANCH}.pdf" depends_on: - pandoc - name: log @@ -34,7 +35,8 @@ steps: from_secret: minio_secret_key source: ./*.pdf region: eu-dogland - target: / + target: + from_secret: minio_target path_style: true endpoint: https://minio.kingofdog.de depends_on: