mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 09:36:52 +01:00
parent
776e8b7b5f
commit
e6d814d60a
@ -36,11 +36,11 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; th
|
|||||||
##
|
##
|
||||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
|
|
||||||
gulp build --staging
|
gulp build --production
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
gulp build --staging
|
gulp build --production
|
||||||
|
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; th
|
|||||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
|
|
||||||
#gulp deploy --live;
|
#gulp deploy --live;
|
||||||
gulp deploy --beta;
|
gulp deploy --live;
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ const SRC = `${site.source}/`
|
|||||||
const DIST = `${site.destination}/`
|
const DIST = `${site.destination}/`
|
||||||
|
|
||||||
// deployment
|
// deployment
|
||||||
const S3BUCKET = 'beta.ipdb.io'
|
const S3BUCKET = 'ipdb.io'
|
||||||
const S3REGION = 'eu-central-1'
|
const S3REGION = 'eu-central-1'
|
||||||
const S3BUCKET_BETA = 'beta.ipdb.io'
|
const S3BUCKET_BETA = 'beta.ipdb.io'
|
||||||
const S3REGION_BETA = 'eu-central-1'
|
const S3REGION_BETA = 'eu-central-1'
|
||||||
@ -315,10 +315,8 @@ const deployBanner = (done) => {
|
|||||||
|
|
||||||
if ($.util.env.live) {
|
if ($.util.env.live) {
|
||||||
deployTarget = 'Live'
|
deployTarget = 'Live'
|
||||||
} else if ($.util.env.beta) {
|
|
||||||
deployTarget = 'Beta'
|
|
||||||
} else {
|
} else {
|
||||||
deployTarget = 'Gamma'
|
deployTarget = 'Beta'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($.util.env.live || $.util.env.beta || $.util.env.gamma) === true) {
|
if (($.util.env.live || $.util.env.beta || $.util.env.gamma) === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user