.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-30 22:28:40 +01:00
parent b839392132
commit 87c7bb27ad
4 changed files with 1 additions and 44 deletions

View File

@ -6,7 +6,7 @@ load("@this//stack:stack-root.star", "stackRoot")
def main(ctx): def main(ctx):
return drone( return drone(
ctx, ctx,
"home-deploy", "stack-deploy",
stackRoot, stackRoot,
stackName, stackName,
[ [

View File

@ -1,8 +0,0 @@
FROM ghost
# USER root
RUN apt-get update
RUN apt-get install -y gettext
COPY config.production.json /var/lib/ghost/
COPY run.sh /
CMD ["sh", "/run.sh"]

View File

@ -1,33 +0,0 @@
{
"url": "https://${GIT_DOMAIN}/blog",
"server": {
"port": 2368,
"host": "0.0.0.0"
},
"database": {
"client": "sqlite3",
"connection": {
"filename": "/var/lib/ghost/content/data/ghost.db"
}
},
"mail": {
"transport": "SMTP",
"options": {
"service": "${GHOST_MAIL_SERVICE}",
"auth": {
"user": "${GHOST_MAIL_USER}",
"pass": "${GHOST_MAIL_PASSWORD}"
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/lib/ghost/content"
}
}

View File

@ -1,2 +0,0 @@
envsubst < /var/lib/ghost/config.production.json > __tmp && mv __tmp /var/lib/ghost/config.production.json
node "current/index.js"