Add CI/CD via Drone #1
1 changed files with 28 additions and 0 deletions
28
.drone.yml
Normal file
28
.drone.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: default
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: docker.atomaka.com
|
||||
repo: atomaka.com
|
||||
tags:
|
||||
- latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
- name: notify
|
||||
image: plugins/slack
|
||||
settings:
|
||||
channel: developers
|
||||
username: drone
|
Loading…
Reference in a new issue