.
This commit is contained in:
parent
dbf318b643
commit
60f0306e90
|
@ -30,7 +30,9 @@ local config = {
|
|||
deploy(config)(
|
||||
'ghost',
|
||||
'/stack/',
|
||||
[],
|
||||
[
|
||||
'THEME',
|
||||
],
|
||||
publicSecrets,
|
||||
secretSecrets,
|
||||
[
|
||||
|
|
|
@ -85,6 +85,7 @@ steps:
|
|||
- drone_build_number
|
||||
- drone_repo_name
|
||||
- drone_repo_namespace
|
||||
- theme
|
||||
- mail_service
|
||||
- mail_user
|
||||
- commento_origin
|
||||
|
@ -92,6 +93,7 @@ steps:
|
|||
- mysql_root_password
|
||||
script:
|
||||
- rm -f env-ghost
|
||||
- "echo \"export THEME='$${THEME}'\" >> env-ghost # \"theme\""
|
||||
- "echo \"export MAIL_SERVICE='$${MAIL_SERVICE}'\" >> env-ghost # \"mail-service\""
|
||||
- "echo \"export MAIL_USER='$${MAIL_USER}'\" >> env-ghost # \"mail-user\""
|
||||
- "echo \"export COMMENTO_ORIGIN='$${COMMENTO_ORIGIN}'\" >> env-ghost # \"commento-origin\""
|
||||
|
@ -130,6 +132,9 @@ steps:
|
|||
- sh .drone/build.sh
|
||||
- sh .drone/push.sh
|
||||
- sh .drone/logout.sh
|
||||
environment:
|
||||
THEME:
|
||||
from_secret: theme
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
@ -153,12 +158,14 @@ steps:
|
|||
- commento_origin
|
||||
- theme
|
||||
- mysql_root_password
|
||||
- theme
|
||||
script:
|
||||
- export MYSQL_ROOT_PASSWORD=$${MYSQL_ROOT_PASSWORD}
|
||||
- export MAIL_SERVICE=$${MAIL_SERVICE}
|
||||
- export MAIL_USER=$${MAIL_USER}
|
||||
- export COMMENTO_ORIGIN=$${COMMENTO_ORIGIN}
|
||||
- export THEME=$${THEME}
|
||||
- export THEME=$${THEME}
|
||||
- export SCHEME=$${SCHEME}
|
||||
- export DOMAIN=$${DOMAIN}
|
||||
- export REGISTRY_DOMAIN=$${REGISTRY_DOMAIN}
|
||||
|
|
Loading…
Reference in New Issue