You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
496 B

3 years ago
pipeline:
jekyll-build:
image: jekyll/jekyll:4.2.2
commands:
- touch Gemfile.lock
- chmod a+w Gemfile.lock
- chown -R jekyll:jekyll /drone
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
3 years ago
- bundle install
- bundle exec jekyll build
deploy-site:
3 years ago
image: drillster/drone-rsync
source: _site/*
target: ~/docs.hmcl.net
recursive: true
delete: true
when:
branch: [master]
event: [push]