Add Drone CI/CD
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
c2b16a4084
commit
56bea58f79
@ -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: ~/public_html/labnotes-new
|
||||
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