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
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
@ -12,4 +13,23 @@ steps:
|
||||||
- name: hugo
|
- name: hugo
|
||||||
image: corpusops/hugo
|
image: corpusops/hugo
|
||||||
commands:
|
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