From 350ec2a30d83417eb212d6ddca0c61bff6432d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Fri, 28 Apr 2023 08:33:28 +0200 Subject: [PATCH] Tweak CI step names --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 87f7b5c..2a56138 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,7 @@ kind: pipeline name: homepage steps: -- name: build sites +- name: build image: gcr.io/kaniko-project/executor:v1.9.0-debug environment: DOCKER_USERNAME: @@ -17,23 +17,25 @@ steps: - /kaniko/executor --cache --cache-dir=/cache --context . --destination "$IMAGE_BASE/angestoepselt:$TAG" --build-arg SITE=angestoepselt - /kaniko/executor --cache --cache-dir=/cache --context . --destination "$IMAGE_BASE/coderdojo:$TAG" --build-arg SITE=coderdojo -- name: deploy staging environment +- name: deploy staging image: plugins/webhook settings: urls: from_secret: portainer_stage_url depends_on: - - build sites + - build when: branch: exclude: - main -- name: deploy production environment +- name: deploy production image: plugins/webhook settings: urls: from_secret: portainer_main_url + depends_on: + - build when: branch: - main