From 37506b6c83b720ca70d5ff65651b8a7050a1f9b7 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 19 Aug 2023 03:54:11 +0200 Subject: [PATCH] Added promotion step --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index d213692..23a370c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,6 +80,12 @@ steps: - chmod 600 $HOME/.ssh/known_hosts - ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null - ./gradlew -Prelease.useLastTag=true final jib + - name: promote-staging + image: danihodovic/drone-promote + settings: + drone_token: + from_secret: drone_token + target: production volumes: - name: cache