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
519 B
YAML
31 lines
519 B
YAML
1 year ago
|
---
|
||
|
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
|