substation/.drone.yml

35 lines
500 B
YAML

---
kind: pipeline
type: docker
name: make-then-deploy
platform:
os: linux
arch: amd64
steps:
- name: build
image: nicksantamaria/mkdocs
commands:
- mkdocs build
---
name: scp files
image: appleboy/drone-scp
settings:
host: tilde.team
username: terris
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