mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-09-26 15:31:11 +08:00
This commit is contained in:
+8
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user