Fix .drone.yml again
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luca 2023-03-26 18:30:51 +02:00
parent a4bd8d810b
commit 317efc2af1
1 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,15 @@ type: docker
name: default
steps:
- name: load cache ssh key
image: alpine:3.17
commands:
- mkdir -p .ssh
- echo "$CACHE_SSH_KEY" > .ssh/id_cache
environment:
CACHE_SSH_KEY:
from_secret: cache_ssh_key
- name: restore cache
image: meltwater/drone-cache
environment: &cache_env
@ -16,8 +25,7 @@ steps:
backend: sftp
mount:
- resources/_gen
public_key_file:
from_secret: cache_ssh_key
public_key_file: .ssh/id_cache
username: u194355-sub5
restore: yes