diff --git a/Jenkinsfile b/Jenkinsfile index 9c61abc..51228f2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,10 +19,10 @@ pipeline { CONTENT_SOURCE_URL = '../src' GIT_COMMITTER_NAME = 'status-im-auto' GIT_COMMITTER_EMAIL = 'auto@status.im' - /* dev page settings */ - DEV_SITE = 'dev-rlnp2p.vac.dev' - DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net' - SCP_OPTS = 'StrictHostKeyChecking=no' + PROD_SITE = 'rlnp2p.vac.dev' + DEV_SITE = 'dev-rlnp2p.vac.dev' + DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net' + SCP_OPTS = 'StrictHostKeyChecking=no' } stages { @@ -39,7 +39,7 @@ pipeline { stage('Install') { steps { dir('builder') { - sh 'yarn install' + sh 'yarn install' } } } @@ -47,7 +47,8 @@ pipeline { stage('Build') { steps { dir('builder') { - sh 'yarn build' + sh 'yarn build' + sh "echo ${env.PROD_SITE} > out/CNAME" } } } diff --git a/static-assets/CNAME b/static-assets/CNAME deleted file mode 100644 index 0e6e8fb..0000000 --- a/static-assets/CNAME +++ /dev/null @@ -1 +0,0 @@ -rlnp2p.vac.dev \ No newline at end of file