fix: CNAME file issue
CNAME file was located in ./static-assets, but it should be in the `out` directory after the build stage because the `out` folder was created in the `build` stage. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
32a29f53f0
commit
aacb94052c
|
@ -19,7 +19,7 @@ pipeline {
|
||||||
CONTENT_SOURCE_URL = '../src'
|
CONTENT_SOURCE_URL = '../src'
|
||||||
GIT_COMMITTER_NAME = 'status-im-auto'
|
GIT_COMMITTER_NAME = 'status-im-auto'
|
||||||
GIT_COMMITTER_EMAIL = 'auto@status.im'
|
GIT_COMMITTER_EMAIL = 'auto@status.im'
|
||||||
/* dev page settings */
|
PROD_SITE = 'logos.co'
|
||||||
DEV_SITE = 'dev.logos.co'
|
DEV_SITE = 'dev.logos.co'
|
||||||
DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net'
|
DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net'
|
||||||
SCP_OPTS = 'StrictHostKeyChecking=no'
|
SCP_OPTS = 'StrictHostKeyChecking=no'
|
||||||
|
@ -48,6 +48,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
dir('builder') {
|
dir('builder') {
|
||||||
sh 'yarn build'
|
sh 'yarn build'
|
||||||
|
sh "echo ${env.PROD_SITE} > out/CNAME"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
logos.co
|
|
Loading…
Reference in New Issue