diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..551ad3b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: build + image: ruby:latest + commands: + - gem update --system + - gem install bundler + - bundle install + - bundle exec jekyll build + + - name: deploy + image: drillster/drone-rsync + settings: + source: _site/* + target: . + recursive: true + delete: true + hosts: 10.1.99.254 + user: thomas + key: + from_secret: rsync_key + trigger: + branch: + - main + event: + - push