31 lines
611 B
Plaintext
31 lines
611 B
Plaintext
|
|
||
|
local secretSecrets = import 'lib/secret-secrets.libsonnet';
|
||
|
local publicSecrets = import 'lib/public-secrets.libsonnet';
|
||
|
|
||
|
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
|
||
|
local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet';
|
||
|
[
|
||
|
register,
|
||
|
deploy(
|
||
|
'ghost',
|
||
|
'/stack/',
|
||
|
[],
|
||
|
publicSecrets,
|
||
|
secretSecrets,
|
||
|
[
|
||
|
'DOMAIN',
|
||
|
'REGISTRY_DOMAIN',
|
||
|
'REGISTRY_PORT',
|
||
|
'REGISTRY_PASSWORD',
|
||
|
],
|
||
|
) {
|
||
|
trigger +: {
|
||
|
event +: [
|
||
|
'promote',
|
||
|
],
|
||
|
target +: [
|
||
|
'production',
|
||
|
],
|
||
|
},
|
||
|
}
|
||
|
]
|