Add CI/CD via Drone #1
1 changed files with 5 additions and 21 deletions
26
.drone.yml
26
.drone.yml
|
@ -5,24 +5,8 @@ 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
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
|
|
Loading…
Reference in a new issue