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

31 lines
539 B
YAML

---
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