Add jekyll step to build pipeline
This commit is contained in:
parent
446c69c4c6
commit
592df09a45
1 changed files with 8 additions and 2 deletions
10
.drone.yml
10
.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
|
||||||
|
|
Loading…
Reference in a new issue