Inject correct MyRadio URL in build (fixes #32)
This commit is contained in:
parent
2c92b086c3
commit
f0c1292f34
1 changed files with 4 additions and 0 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -25,6 +25,10 @@ pipeline {
|
|||
when {
|
||||
branch 'production'
|
||||
}
|
||||
environment {
|
||||
REACT_APP_MYRADIO_NONAPI_BASE = 'https://ury.org.uk/myradio'
|
||||
REACT_APP_MYRADIO_BASE = 'https://ury.org.uk/api/v2'
|
||||
}
|
||||
steps {
|
||||
sh 'sed -i -e \'s/ury.org.uk\\/webstudio-dev/ury.org.uk\\/webstudio/\' package.json'
|
||||
sh 'yarn build'
|
||||
|
|
Loading…
Reference in a new issue