yann.verry.org/.drone.yml
Yann Verry 66a4e303d4
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
try to pass sshprivatekey
2022-10-26 22:19:49 +02:00

36 lines
589 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
steps:
- name: hugo
image: corpusops/hugo
commands:
- hugo_extended
steps:
- name: sshkey
image: alpine
environment:
SSH_KEY:
from_secret: ssh_key
commands:
- echo "$SSH_KEY" > ./sshprivate && chmod 400 ./sshprivate
steps:
- name: scp files
image: appleboy/drone-scp
settings:
host: "peach.verry.org"
source: ./public
target: ~/public
username: yann-blog
key: ./sshprivate
recursive: true