Handle dependencies for notifications
This commit is contained in:
parent
f9452dd2c5
commit
b4b5d32780
@ -2,7 +2,7 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy to swarm.autonomic.zone
|
name: deploy to swarm.autonomic.zone
|
||||||
steps:
|
steps:
|
||||||
- name: bundle static
|
- name: bundle
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
@ -12,7 +12,7 @@ steps:
|
|||||||
repo: decentral1se/autonomic.zone
|
repo: decentral1se/autonomic.zone
|
||||||
tags: latest
|
tags: latest
|
||||||
|
|
||||||
- name: deployment
|
- name: deploy
|
||||||
image: decentral1se/stack-ssh-deploy:latest
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
stack: jekyll
|
stack: jekyll
|
||||||
@ -22,6 +22,7 @@ steps:
|
|||||||
|
|
||||||
- name: notify rocket chat
|
- name: notify rocket chat
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
|
depends_on: ["bundle", "deploy"],
|
||||||
settings:
|
settings:
|
||||||
webhook:
|
webhook:
|
||||||
from_secret: rc_builds_url
|
from_secret: rc_builds_url
|
||||||
|
Reference in New Issue
Block a user