diff --git a/.travis.yml b/.travis.yml index c430c363c..e7f1ac31c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,9 @@ directories: - node_modules script: - yarn test - - yarn build - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) + - export PUBLIC_URL=https://nin.artsdatabanken.no/$(if [ "$BRANCH" == "master" ]; then echo ""; else echo $BRANCH; fi) + - yarn build - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH" before_deploy: - git tag "$(date +'%Y%m%d-%H%M%S')-$(git log --format=%h -1)" diff --git a/public/index.html b/public/index.html index 1198a5bbd..ab121cc62 100644 --- a/public/index.html +++ b/public/index.html @@ -1,18 +1,23 @@ - -
- - - - - - - - -