Commit fe6de6d 1 parent 4c0a8e0 commit fe6de6d Copy full SHA for fe6de6d
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 50
50
# Environment variable overriden for deploy-preview's
51
51
# Deploy preview's are generated by pull/merge requests
52
52
[context .deploy-preview ]
53
+ command = " cd functions/take-screenshot && npm i && cd ../../ && NODE_ENV=production npm run generate"
54
+ functions = " functions/"
55
+
53
56
[context .deploy-preview .environment ]
54
57
API_BASE_URL = " https://api.staging.coronatracker.com"
55
58
BASE_URL = " https://staging.coronatracker.com"
60
63
# Branch deployes are applicable for non-master branches
61
64
# Such as staging, dev branches
62
65
[context .branch-deploy ]
66
+ command = " cd functions/take-screenshot && npm i && cd ../../ && NODE_ENV=production npm run generate"
67
+ functions = " functions/"
68
+
63
69
[context .branch-deploy .environment ]
64
70
API_BASE_URL = " https://api.staging.coronatracker.com"
65
71
BASE_URL = " https://staging.coronatracker.com"
You can’t perform that action at this time.
0 commit comments