applied mail var
This commit is contained in:
parent
ca6cd5640f
commit
7694973da4
|
@ -221,25 +221,21 @@ steps:
|
|||
- drone_build_number
|
||||
- drone_repo_name
|
||||
- drone_repo_namespace
|
||||
- mail_service
|
||||
- mail_user
|
||||
- mail
|
||||
- commento_origin
|
||||
- theme
|
||||
- mysql_root_password
|
||||
script:
|
||||
- rm -f env-ghost
|
||||
- "echo \"export MAIL_SERVICE='$${MAIL_SERVICE}'\" >> env-ghost # \"mail-service\""
|
||||
- "echo \"export MAIL_USER='$${MAIL_USER}'\" >> env-ghost # \"mail-user\""
|
||||
- "echo 'export MAIL=\"$${MAIL}\"' >> env-ghost # \"mail\""
|
||||
- "echo \"export COMMENTO_ORIGIN='$${COMMENTO_ORIGIN}'\" >> env-ghost # \"commento-origin\""
|
||||
- "echo \"export THEME='$${THEME}'\" >> env-ghost # \"theme\""
|
||||
- "echo \"export MYSQL_ROOT_PASSWORD='$${MYSQL_ROOT_PASSWORD}'\" >> env-ghost # \"mysql-root-password\""
|
||||
environment:
|
||||
COMMENTO_ORIGIN:
|
||||
from_secret: commento-origin
|
||||
MAIL_SERVICE:
|
||||
from_secret: mail-service
|
||||
MAIL_USER:
|
||||
from_secret: mail-user
|
||||
MAIL:
|
||||
from_secret: mail
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
from_secret: mysql-root-password
|
||||
THEME:
|
||||
|
@ -337,19 +333,16 @@ steps:
|
|||
- registry_domain
|
||||
- registry_port
|
||||
- registry_password
|
||||
- mail_service
|
||||
- mail_user
|
||||
- mail
|
||||
- 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 MAIL=$${MAIL}
|
||||
- export COMMENTO_ORIGIN=$${COMMENTO_ORIGIN}
|
||||
- export THEME=$${THEME}
|
||||
- export THEME=$${THEME}
|
||||
- export SCHEME=$${SCHEME}
|
||||
- export DOMAIN=$${DOMAIN}
|
||||
- export REGISTRY_DOMAIN=$${REGISTRY_DOMAIN}
|
||||
|
@ -365,10 +358,8 @@ steps:
|
|||
environment:
|
||||
COMMENTO_ORIGIN:
|
||||
from_secret: commento-origin
|
||||
MAIL_SERVICE:
|
||||
from_secret: mail-service
|
||||
MAIL_USER:
|
||||
from_secret: mail-user
|
||||
MAIL:
|
||||
from_secret: mail
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
from_secret: mysql-root-password
|
||||
THEME:
|
||||
|
|
Loading…
Reference in New Issue