mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-09-15 09:01:11 +08:00
+21
@@ -0,0 +1,21 @@
|
||||
pipeline:
|
||||
jekyll-build:
|
||||
image: jekyll/jekyll:4.2.2
|
||||
commands:
|
||||
- touch Gemfile.lock
|
||||
- chmod a+w Gemfile.lock
|
||||
- chown -R jekyll:jekyll /drone
|
||||
- gem update --system
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
|
||||
deploy:
|
||||
image: drillster/drone-rsync
|
||||
source: _site/*
|
||||
target: ~/docs.hmcl.net
|
||||
recursive: true
|
||||
delete: true
|
||||
when:
|
||||
branch: [master]
|
||||
event: [push]
|
||||
Reference in New Issue
Block a user