Compare commits

..

No commits in common. "a82426be2b3f6dec56ffec138e7a4890074f5e91" and "223c838265bc2c151c0b005b1a2422388b947fc9" have entirely different histories.

View File

@ -1,26 +1,20 @@
kind: pipeline
type: docker
name: default
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/
- bundle install
- bundle exec jekyll build
steps:
- name: 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://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
- bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems
- bundle install
- bundle exec jekyll build
- name: deploy-site
image: drillster/drone-rsync
settings:
deploy-site:
image: drillster/drone-rsync
source: _site/*
target: ~/docs.hmcl.net
recursive: true
delete: true
when:
branch: [master]
event: [push]
when:
branch: [master]
event: [push]