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.
This commit is contained in:
swb 2023-03-21 17:35:10 +00:00
parent 687664e1b0
commit fd2c4897a9
No known key found for this signature in database
GPG Key ID: 00C65C3C5258DB0F
2 changed files with 7 additions and 7 deletions

3
Jenkinsfile vendored
View File

@ -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 = 'vac.dev'
DEV_SITE = 'dev.vac.dev' DEV_SITE = 'dev.vac.dev'
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"
} }
} }
} }

View File

@ -1 +0,0 @@
vac.dev