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:
swb 2023-03-21 15:44:06 +00:00 committed by Jakub Sokołowski
parent 32a29f53f0
commit aacb94052c
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 7 additions and 7 deletions

13
Jenkinsfile vendored
View File

@ -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.logos.co'
DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net'
SCP_OPTS = 'StrictHostKeyChecking=no'
PROD_SITE = 'logos.co'
DEV_SITE = 'dev.logos.co'
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"
}
}
}

View File

@ -1 +0,0 @@
logos.co