Handle dependencies for notifications

This commit is contained in:
Luke Murphy 2021-01-29 13:31:17 +01:00
parent f9452dd2c5
commit b4b5d32780
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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