forked from ToolJet/ToolJet
-
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.
Chore: Support heroku review apps (ToolJet#1560)
* add heroku predeploy script * test env injected * test prebuild heroku * fix filename * cancel inprogress pipeline * change file permission * test env replaced * server install on predeploy * frontend build on predeploy * run as postdeploy script
- Loading branch information
1 parent
511ec55
commit f76b675
Showing
3 changed files
with
15 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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if [ $HEROKU_APP_NAME ] | ||
then | ||
TOOLJET_HOST="https://${HEROKU_APP_NAME}.herokuapp.com" | ||
TOOLJET_SERVER_URL="https://${HEROKU_APP_NAME}.herokuapp.com" | ||
fi | ||
|
||
npm run build && npm run deploy |
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