mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Tweak CI step names
This commit is contained in:
parent
9ee5841842
commit
350ec2a30d
1 changed files with 6 additions and 4 deletions
10
.drone.yml
10
.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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue