diff --git a/.drone.yml b/.drone.yml index 58d99d7..67ac54f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: default +name: Yann Verry - Blog steps: @@ -15,15 +15,6 @@ steps: 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 @@ -32,5 +23,7 @@ steps: source: ./public target: ~/public username: yann-blog - key: ./sshprivate - recursive: true \ No newline at end of file + recursive: true + secrets: + - source: ssh_key + target: ssh_key \ No newline at end of file