|
|
@ -1,5 +1,9 @@ |
|
|
|
pipeline: |
|
|
|
kind: pipeline |
|
|
|
jekyll-build: |
|
|
|
type: docker |
|
|
|
|
|
|
|
name: default |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- name: jekyll-build |
|
|
|
image: jekyll/jekyll:4.2.2 |
|
|
|
image: jekyll/jekyll:4.2.2 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- touch Gemfile.lock |
|
|
|
- touch Gemfile.lock |
|
|
@ -10,8 +14,9 @@ pipeline: |
|
|
|
- bundle install |
|
|
|
- bundle install |
|
|
|
- bundle exec jekyll build |
|
|
|
- bundle exec jekyll build |
|
|
|
|
|
|
|
|
|
|
|
deploy-site: |
|
|
|
- name: deploy-site |
|
|
|
image: drillster/drone-rsync |
|
|
|
image: drillster/drone-rsync |
|
|
|
|
|
|
|
settings: |
|
|
|
source: _site/* |
|
|
|
source: _site/* |
|
|
|
target: ~/docs.hmcl.net |
|
|
|
target: ~/docs.hmcl.net |
|
|
|
recursive: true |
|
|
|
recursive: true |
|
|
|