Add Drone CI/CD
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c2b16a4084
commit
903e5edef2
@ -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
|
Loading…
Reference in New Issue