Add CI/CD via Drone #1
1 changed files with 9 additions and 2 deletions
11
.drone.yml
11
.drone.yml
|
@ -2,7 +2,7 @@ name: test
|
|||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: jekyll-build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
|
@ -18,7 +18,13 @@ name: build
|
|||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
- name: jekyll-build
|
||||
image: ruby
|
||||
commands:
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
pull_image: true
|
||||
|
@ -26,3 +32,4 @@ steps:
|
|||
repo: docker.atomaka.com/atomaka.com
|
||||
trigger:
|
||||
branch: master
|
||||
event: push
|
||||
|
|
Loading…
Reference in a new issue