adding drone.yml

This commit is contained in:
terris Station 2019-12-10 15:53:54 -05:00
parent 57d065ca7c
commit 601463564e
1 changed files with 30 additions and 0 deletions

30
.drone.yml Normal file
View File

@ -0,0 +1,30 @@
kind: pipeline
type: docker
name: make-then-deploy
steps:
- name: build
image: alpine
commands:
- mkdocs build
---
name: scp files
image: appleboy/drone-scp
settings:
host:
from_secret: substationhost
username:
from_secret: scp_username
password:
from_secret: ssh_key
port: 22
command_timeout: 2m
target: /home/${DRONE_REPO_OWNER}/public_html/${DRONE_REPO_NAME}
source: substation/
trigger:
branch:
- master
event:
- push