website/.drone.yml

37 lines
788 B
YAML
Raw Normal View History

2019-03-16 17:12:32 +00:00
kind: pipeline
name: default
steps:
2019-03-16 18:27:32 +00:00
- name: build
2020-03-01 13:29:03 +00:00
image: ruby:2.6.5
2019-03-16 17:12:32 +00:00
commands:
2020-03-01 14:38:55 +00:00
- gem install bundler jekyll
2019-03-16 18:27:32 +00:00
- bundle install
2020-03-01 13:53:48 +00:00
- bundle exec jekyll build --trace
2019-03-16 18:27:32 +00:00
- name: docker
image: plugins/docker
2019-03-16 19:30:25 +00:00
settings:
repo: docker.data.coop/cryptohagen-website
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
2019-03-16 18:27:32 +00:00
when:
branch:
- master
2019-03-16 17:12:32 +00:00
- name: notify
image: plugins/matrix
settings:
homeserver: https://data.coop
roomid: plKSghHbepWeUEtbHE:data.coop
username:
from_secret: matrix_username
password:
from_secret: matrix_password