initial drone config

pull/1/head
Evan Hemsley 2020-07-12 00:58:38 -07:00
parent f3e07780e3
commit 5c3c1fec11
1 changed files with 23 additions and 0 deletions

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
kind: pipeline
type: docker
name: default
steps:
- name: hugo
image: cbrgm/drone-hugo:latest
settings:
validate: true
output: public
url: %HUGO_INSTANCE_URL%
- name: deploy
image: appleboy/drone-scp
settings:
host:
- %SCP_HOSTNAME%
port: %SCP_PORT%
username: %SCP_USERNAME%
target: %SCP_TARGET_DIRECTORY%
source: public/
key:
from_secret: ssh_key