Refactor .drone.yml and add notification
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jesper Hess 2019-03-16 20:19:01 +01:00
parent 6e7301af1d
commit e186a57f5f
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F

View file

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