Drone pipeline
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lucien Cartier-Tilet 2021-10-23 21:21:31 +02:00
parent e406f5e184
commit bab94151eb
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 34 additions and 0 deletions

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
kind: pipeline
name: default
steps:
- name: build
image: hrektts/mdbook
commands:
- mdbook test
- mdbook build
when:
branch:
- main
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: ssh_host
user:
from_secret: ssh_user
source: ./book/*
target:
from_secret: ssh_target
port:
from_secret: ssh_port
key:
from_secret: ssh_key
recursive: true
when:
branch:
- main
event:
exclude:
- pull_request