-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 878 Bytes
/
Makefile
File metadata and controls
27 lines (20 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#legacy approach
#the source code is automatically rebuilt when deployed on Heroku
# build_js_prod:
# NODE_ENV=production npm run build
# build_js_staging:
# NODE_ENV=staging npm run build
# build_js_dev:
# NODE_ENV=development npm run build
# deploy_prod:
# git push heroku_prod -f HEAD:master
# deploy_staging:
# git push heroku_staging -f HEAD:master
# heroku_buildpacks_prod:
# heroku buildpacks:clear --remote heroku_prod
# heroku buildpacks:set --remote heroku_prod --index 1 heroku/nodejs
# heroku buildpacks:set --remote heroku_prod --index 2 https://github.com/heroku/heroku-buildpack-static
# heroku_buildpacks_staging:
# heroku buildpacks:clear --remote heroku_staging
# heroku buildpacks:set --remote heroku_staging --index 1 heroku/nodejs
# heroku buildpacks:set --remote heroku_staging --index 2 https://github.com/heroku/heroku-buildpack-static