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