adding drone.yml++
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
c62342e159
commit
a0a08451f2
17
.drone.yml
17
.drone.yml
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
type: exec
|
||||
name: make-then-deploy
|
||||
|
||||
steps:
|
||||
|
@ -9,21 +9,6 @@ steps:
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue