fix: adjust jenkinsfile to latest

This commit is contained in:
swb 2023-04-05 17:56:00 +01:00
parent 094041c6b2
commit e362ebf8ec
No known key found for this signature in database
GPG Key ID: 00C65C3C5258DB0F
3 changed files with 5 additions and 6 deletions

5
Jenkinsfile vendored
View File

@ -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"
}
}
}

View File

@ -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

View File

@ -1 +0,0 @@
<your-domain>.<ttl>