From 903e5edef2d14c2400484667a8a2cd8a8a913416 Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Sun, 25 Jun 2023 22:41:36 +0200 Subject: [PATCH] Add Drone CI/CD --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml 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