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