initial drone config
parent
f3e07780e3
commit
5c3c1fec11
|
@ -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
|
Loading…
Reference in New Issue