From e186a57f5fecd7d108f39c4c3af7a081cff53e99 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 16 Mar 2019 20:19:01 +0100 Subject: [PATCH] Refactor .drone.yml and add notification --- .drone.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1084b35..cd51b2b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,18 @@ -pipeline: - build: +kind: pipeline +name: default + +steps: + - name: build image: ruby commands: - gem install bundler - bundle install - bundle exec jekyll build - docker: + - name: docker image: plugins/docker repo: docker.data.coop/data-coop-website registry: docker.data.coop - secrets: [DOCKER_USERNAME, DOCKER_PASSWORD] username: from_secret: DOCKER_USERNAME password: @@ -21,3 +23,13 @@ pipeline: when: branch: - master + + - name: notify + image: plugins/matrix + settings: + homeserver: https://data.coop + roomid: plKSghHbepWeUEtbHE:data.coop + username: + from_secret: matrix_username + password: + from_secret: matrix_password