This commit is contained in:
Giles Bradshaw 2020-09-22 14:11:05 +01:00
parent b1c789e20c
commit 874531b821
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ steps:
image: appleboy/drone-ssh:1.6.2@sha256:b801dc2cd238c192b6e99acfa7bc3f5b9a03f312bd2feb1e10b3a7a28a1b80ea
settings:
envs:
- domain
- drone_tag
- drone_commit
- drone_build_number
@ -45,6 +46,7 @@ steps:
- gitea_mailer_passwd
script:
- rm -f env-gitea
- "echo \"export DOMAIN='$${DOMAIN}'\" >> env-gitea # \"gitea-mailer-host\""
- "echo \"export GITEA_MAILER_HOST='$${GITEA_MAILER_HOST}'\" >> env-gitea # \"gitea-mailer-host\""
- "echo \"export GITEA_MAILER_FROM='$${GITEA_MAILER_FROM}'\" >> env-gitea # \"gitea-mailer-from\""
- "echo \"export GITEA_MAILER_USER='$${GITEA_MAILER_USER}'\" >> env-gitea # \"gitea-mailer-user\""