Add Drone CI/CD
continuous-integration/drone/push Build encountered an error Details

Thomas Quinot 1 year ago
parent c2b16a4084
commit 520b570bfb

@ -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
source: _site/*
target: ~/public_html/labnotes-new
recursive: true
delete: true
hosts: 10.1.99.1
user: thomas
key:
from_secret: rsync_key
secrets: [ rsync_key ]
trigger:
branch:
- main
event:
- push
Loading…
Cancel
Save