mirror of
https://github.com/vacp2p/rlnp2p.vac.dev.git
synced 2026-01-08 04:33:54 -05:00
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:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -19,10 +19,10 @@ 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 = 'rlnp2p.vac.dev'
|
||||||
DEV_SITE = 'dev-rlnp2p.vac.dev'
|
DEV_SITE = 'dev-rlnp2p.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'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@@ -39,7 +39,7 @@ pipeline {
|
|||||||
stage('Install') {
|
stage('Install') {
|
||||||
steps {
|
steps {
|
||||||
dir('builder') {
|
dir('builder') {
|
||||||
sh 'yarn install'
|
sh 'yarn install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -47,7 +47,8 @@ pipeline {
|
|||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
dir('builder') {
|
dir('builder') {
|
||||||
sh 'yarn build'
|
sh 'yarn build'
|
||||||
|
sh "echo ${env.PROD_SITE} > out/CNAME"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
rlnp2p.vac.dev
|
|
||||||
Reference in New Issue
Block a user