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
|
kind: pipeline
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: jekyll-build
|
||||||
image: ruby
|
image: ruby
|
||||||
commands:
|
commands:
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
|
@ -18,7 +18,13 @@ name: build
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish
|
- name: jekyll-build
|
||||||
|
image: ruby
|
||||||
|
commands:
|
||||||
|
- gem install bundler
|
||||||
|
- bundle install
|
||||||
|
- bundle exec jekyll build
|
||||||
|
- name: docker-build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
pull_image: true
|
pull_image: true
|
||||||
|
@ -26,3 +32,4 @@ steps:
|
||||||
repo: docker.atomaka.com/atomaka.com
|
repo: docker.atomaka.com/atomaka.com
|
||||||
trigger:
|
trigger:
|
||||||
branch: master
|
branch: master
|
||||||
|
event: push
|
||||||
|
|
Loading…
Reference in a new issue