Skip to content

Commit 94ea37a

Browse files
committed
Fixed deployment configuration
1 parent ea28f7a commit 94ea37a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ script:
2525
- |
2626
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
2727
yarn build-desktop
28-
echo \{\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"],\"activationEmail\":\"apla@snapswap.eu\",\"networkID\":1\} > ./build/app/settings.json
28+
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
2929
yarn release -ml
3030
yarn release -w
3131
fi
@@ -36,7 +36,7 @@ before_cache:
3636

3737
before_deploy:
3838
- 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
39-
- 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\"]\}]\}
39+
- 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
4040

4141
deploy:
4242
provider: pages

0 commit comments

Comments
 (0)