fix: adjust jenkinsfile to latest
This commit is contained in:
parent
094041c6b2
commit
e362ebf8ec
|
@ -19,8 +19,8 @@ pipeline {
|
|||
CONTENT_SOURCE_URL = '../src'
|
||||
GIT_COMMITTER_NAME = 'status-im-auto'
|
||||
GIT_COMMITTER_EMAIL = 'auto@status.im'
|
||||
/* dev page settings
|
||||
* TODO: update DEV_SITE env var and uncomment it before the build */
|
||||
// TODO: update PROD_SITE & DEV_SITE env var and uncomment it before the build
|
||||
// PROD_SITE = 'domain.com'
|
||||
// DEV_SITE = 'dev.domain.com'
|
||||
DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net'
|
||||
SCP_OPTS = 'StrictHostKeyChecking=no'
|
||||
|
@ -49,6 +49,7 @@ pipeline {
|
|||
steps {
|
||||
dir('builder') {
|
||||
sh 'yarn build'
|
||||
sh "echo ${env.PROD_SITE} > out/CNAME"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,5 @@ Content of `[your-site]` website
|
|||
|
||||
## Process
|
||||
1. Clone this repo for a new website (click on use this template)
|
||||
2. Adjust the Jekinfile: Update DEV_SITE environment variable in the Jenkinsfile in the clone logos site-builder content template with your domain, such as dev.domain.com and uncomment it before the build.
|
||||
3. Add your domain name to CNAME file located in `/statis-assets/`CNAME`
|
||||
4. Create a issue and assign to @serhanwbahar to take care of deployment
|
||||
2. Adjust the `Jekinfile`: Update `PROD_SITE` and `DEV_SITE` environment variable in the Jenkinsfile in the clone logos site-builder content template with your domain, such as `domain.com` & `dev.domain.com` and uncomment it before the build.
|
||||
3. Create a issue and assign to @serhanwbahar to take care of deployment
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<your-domain>.<ttl>
|
Loading…
Reference in New Issue