adding drone.yml++-++-+!
This commit is contained in:
parent
b2d03f94ed
commit
8667c8d559
20
.drone.yml
20
.drone.yml
|
@ -11,12 +11,26 @@ steps:
|
|||
- name: build
|
||||
image: nicksantamaria/mkdocs
|
||||
commands:
|
||||
- echo testing
|
||||
- echo $PWD
|
||||
- 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
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue