forked from GenesisKernel/genesis-front
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|