refactor: jekyll
continuous-integration/drone Build is passing

This commit is contained in:
2022-05-04 18:29:47 +08:00
parent 93b88d853f
commit 73c09b154f
25 changed files with 230 additions and 1 deletions
+21
View File
@@ -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]