forked from fossasia/susi.ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated updation of recaptcha.js during deployment. fixes (fossasia…
…#3625) Cat added tseting travis Update surge.sh Fixed deploy.sh Fixed surge_deploy file fixed upd
- Loading branch information
1 parent
7b98545
commit 1a2475b
Showing
2 changed files
with
7 additions
and
1 deletion.
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
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 |
---|---|---|
|
@@ -6,6 +6,8 @@ fi | |
|
||
yarn global add surge | ||
# Actual building and setup of current push or PR. | ||
wget "https://www.google.com/recaptcha/api.js" | ||
mv api.js public/js/recaptcha.js | ||
yarn install | ||
yarn build | ||
rm -rf node_modules/ | ||
|
@@ -16,4 +18,4 @@ export [email protected] | |
export SURGE_TOKEN=a34fd7119aacd204150edd6a8e29903d | ||
|
||
export DEPLOY_DOMAIN=https://pr-${TRAVIS_PULL_REQUEST}-fossasia-susi-web-chat.surge.sh | ||
surge --project ./build --domain $DEPLOY_DOMAIN; | ||
surge --project ./build --domain $DEPLOY_DOMAIN; |