Add drone.yml

This commit is contained in:
Jesper Hess 2021-01-28 22:35:52 +01:00
parent f50e6ca85f
commit 13c5e3ef84
Signed by: graffen
GPG key ID: 351A89E40D763F0F

22
.drone.yml Normal file
View file

@ -0,0 +1,22 @@
kind: pipeline
name: default
steps:
- name: build
image: ruby
commands:
- gem install bundler
- bundle install
- bundle exec jekyll build
- name: docker
image: plugins/docker
settings:
repo: docker.graffen.io/graffen.dk-website
registry: docker.graffen.io
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
when:
branch:
- master