CI: switch to vault secret

This commit is contained in:
vincent 2022-12-04 09:09:59 +01:00
parent bf47088cd3
commit 6bd6fe5780

View File

@ -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