add sshkey to drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build encountered an error

This commit is contained in:
Yann Verry 2022-10-26 22:05:46 +02:00
parent e74286a940
commit dfe7626046
Signed by: yann
GPG key ID: EB9E679A66B8C7A1

View file

@ -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