Fix .drone.yml again
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
a4bd8d810b
commit
317efc2af1
12
.drone.yml
12
.drone.yml
|
@ -5,6 +5,15 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
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
|
- name: restore cache
|
||||||
image: meltwater/drone-cache
|
image: meltwater/drone-cache
|
||||||
environment: &cache_env
|
environment: &cache_env
|
||||||
|
@ -16,8 +25,7 @@ steps:
|
||||||
backend: sftp
|
backend: sftp
|
||||||
mount:
|
mount:
|
||||||
- resources/_gen
|
- resources/_gen
|
||||||
public_key_file:
|
public_key_file: .ssh/id_cache
|
||||||
from_secret: cache_ssh_key
|
|
||||||
username: u194355-sub5
|
username: u194355-sub5
|
||||||
restore: yes
|
restore: yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue