Skip to content

Commit

Permalink
Fixed deployment configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurer committed May 17, 2019
1 parent ea28f7a commit 94ea37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ script:
- |
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
yarn build-desktop
echo \{\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"],\"activationEmail\":\"[email protected]\",\"networkID\":1\} > ./build/app/settings.json
echo \{\"networks\":[\{\"key\":\"prebuilt_mainnet\",\"name\":\"Apla Main Network\",\"networkID\":1,\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_testnet\",\"name\":\"Apla Test Network\",\"networkID\":1,\"fullNodes\":[\"https://testapla0.apla.io:7079\",\"https://testapla1.apla.io:7079\",\"https://testapla2.apla.io:7079\"]\}]\} > ./build/app/settings.json
yarn release -ml
yarn release -w
fi
Expand All @@ -36,7 +36,7 @@ before_cache:

before_deploy:
- echo '<!DOCTYPE html><html><head><meta charset=utf-8><title>Apla</title><script type="text/javascript">var segmentCount=0;var l=window.location;l.replace(l.protocol+"//"+l.hostname+(l.port?":"+l.port:"")+l.pathname.split("/").slice(0,1+segmentCount).join("/")+"/?p=/"+l.pathname.slice(1).split("/").slice(segmentCount).join("/").replace(/&/g,"~and~")+(l.search?"&q="+l.search.slice(1).replace(/&/g,"~and~"):"")+l.hash);</script></head><body></body></html>' > ./build/404.html
- echo \{\"networks\":[\{\"key\":\"prebuilt_mainnet\",\"name\":\"Apla Main Network\",\"networkID\":1,\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_testnet\",\"name\":\"Apla Test Network\",\"networkID\":1,\"fullNodes\":[\"https://testapla0.apla.io:7079\",\"https://testapla1.apla.io:7079\",\"https://testapla2.apla.io:7079\"]\}]\}
- echo \{\"networks\":[\{\"key\":\"prebuilt_mainnet\",\"name\":\"Apla Main Network\",\"networkID\":1,\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_testnet\",\"name\":\"Apla Test Network\",\"networkID\":1,\"fullNodes\":[\"https://testapla0.apla.io:7079\",\"https://testapla1.apla.io:7079\",\"https://testapla2.apla.io:7079\"]\}]\} > ./build/settings.json

deploy:
provider: pages
Expand Down

0 comments on commit 94ea37a

Please sign in to comment.