ci: Add SITE_URL to settings_local for sandbox (#7112)
This commit is contained in:
parent
3ddd8c9cce
commit
80cc6a3802
|
@ -67,6 +67,7 @@ async function main () {
|
||||||
.replace('__DBHOST__', `dt-db-${branch}`)
|
.replace('__DBHOST__', `dt-db-${branch}`)
|
||||||
.replace('__SECRETKEY__', nanoid(36))
|
.replace('__SECRETKEY__', nanoid(36))
|
||||||
.replace('__MQCONNSTR__', `amqp://datatracker:${mqKey}@dt-mq-${branch}/dt`)
|
.replace('__MQCONNSTR__', `amqp://datatracker:${mqKey}@dt-mq-${branch}/dt`)
|
||||||
|
.replace('__HOSTNAME__', hostname)
|
||||||
)
|
)
|
||||||
await fs.copy(path.join(basePath, 'docker/scripts/app-create-dirs.sh'), path.join(releasePath, 'app-create-dirs.sh'))
|
await fs.copy(path.join(basePath, 'docker/scripts/app-create-dirs.sh'), path.join(releasePath, 'app-create-dirs.sh'))
|
||||||
await fs.copy(path.join(basePath, 'dev/deploy-to-container/start.sh'), path.join(releasePath, 'start.sh'))
|
await fs.copy(path.join(basePath, 'dev/deploy-to-container/start.sh'), path.join(releasePath, 'start.sh'))
|
||||||
|
|
|
@ -69,3 +69,6 @@ NOMCOM_PUBLIC_KEYS_DIR = 'data/nomcom_keys/public_keys/'
|
||||||
SLIDE_STAGING_PATH = '/test/staging/'
|
SLIDE_STAGING_PATH = '/test/staging/'
|
||||||
|
|
||||||
DE_GFM_BINARY = '/usr/local/bin/de-gfm'
|
DE_GFM_BINARY = '/usr/local/bin/de-gfm'
|
||||||
|
|
||||||
|
# OIDC configuration
|
||||||
|
SITE_URL = 'https://__HOSTNAME__'
|
||||||
|
|
Loading…
Reference in a new issue