applied mail var
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/promote/print Build is passing Details

This commit is contained in:
giles 2023-10-19 16:12:51 +01:00
parent ca6cd5640f
commit 7694973da4
1 changed files with 8 additions and 17 deletions

View File

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