forked from vincent/notebook
CI: switch to vault secret
This commit is contained in:
parent
bf47088cd3
commit
6bd6fe5780
@ -48,7 +48,7 @@ steps:
|
|||||||
user: drone-deploy
|
user: drone-deploy
|
||||||
overwrite: true
|
overwrite: true
|
||||||
key:
|
key:
|
||||||
from_secret: gitea_private_key
|
from_secret: dronePrivateKey
|
||||||
target: /srv/http
|
target: /srv/http
|
||||||
source: notebook
|
source: notebook
|
||||||
|
|
||||||
@ -57,3 +57,9 @@ trigger:
|
|||||||
- master
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
---
|
||||||
|
kind: secret
|
||||||
|
name: dronePrivateKey
|
||||||
|
get:
|
||||||
|
path: secrets/data/droneci/keyRSA
|
||||||
|
name: dronePrivateKey
|
||||||
|
Loading…
Reference in New Issue
Block a user