add sshkey to drone
This commit is contained in:
parent
e74286a940
commit
dfe7626046
22
.drone.yml
22
.drone.yml
|
@ -2,6 +2,7 @@ kind: pipeline
|
|||
type: docker
|
||||
name: default
|
||||
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
|
@ -12,4 +13,23 @@ steps:
|
|||
- name: hugo
|
||||
image: corpusops/hugo
|
||||
commands:
|
||||
- hugo
|
||||
- hugo_extended
|
||||
|
||||
steps:
|
||||
- name: scp files
|
||||
image: appleboy/drone-scp
|
||||
volumes:
|
||||
- name: sshkey
|
||||
path: /sshprivate
|
||||
settings:
|
||||
host: "peach.verry.org"
|
||||
source: ./public
|
||||
target: ~/public
|
||||
username: yann-blog
|
||||
key: /sshprivate
|
||||
recursive: true
|
||||
|
||||
volumes:
|
||||
- name: sshkey
|
||||
host:
|
||||
path: /srv/docker/volumes/drone/sshkey/yann-blog
|
Loading…
Reference in a new issue