File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ jobs:
143
143
if [ $CIRCLE_BRANCH = "env/unesco" ]; then
144
144
ENV=sparkle-unesco
145
145
fi
146
+ if [ $CIRCLE_BRANCH = "env/ohbm" ]; then
147
+ ENV=sparkle-ohbm
148
+ fi
146
149
147
150
./node_modules/.bin/firebase use $ENV --token "$FIREBASE_TOKEN"
148
151
./node_modules/.bin/firebase deploy --only functions --token "$FIREBASE_TOKEN"
@@ -265,6 +268,12 @@ jobs:
265
268
TARGET=sparkle-unesco
266
269
RELEASE_STAGE=env/unesco
267
270
fi
271
+ if [ $CIRCLE_BRANCH = "env/ohbm" ]; then
272
+ PREFIX=OHBM_
273
+ ENV=sparkle-ohbm
274
+ TARGET=sparkle-ohbm
275
+ RELEASE_STAGE=env/ohbm
276
+ fi
268
277
269
278
./scripts/init-env.sh $PREFIX
270
279
@@ -321,6 +330,7 @@ workflows:
321
330
- env/kotr
322
331
- env/memrise
323
332
- env/unesco
333
+ - env/ohbm
324
334
- deploy-hosting :
325
335
requires :
326
336
- lint-and-test
@@ -345,6 +355,7 @@ workflows:
345
355
- env/kotr
346
356
- env/memrise
347
357
- env/unesco
358
+ - env/ohbm
348
359
# - smoke-test:
349
360
# requires:
350
361
# - deploy-functions
Original file line number Diff line number Diff line change 18
18
"deloitte": "sparkle-deloitte",
19
19
"kotr": "sparkle-kotr",
20
20
"memrise": "sparkle-memrise",
21
- "unesco": "sparkle-unesco"
21
+ "unesco": "sparkle-unesco",
22
+ "ohbm": "sparkle-ohbm"
22
23
},
23
24
"targets": {
24
25
"co-reality-map": {
159
160
"sparkle-unesco"
160
161
]
161
162
}
163
+ },
164
+ "sparkle-ohbm": {
165
+ "hosting": {
166
+ "sparkle-ohbm": [
167
+ "sparkle-ohbm"
168
+ ]
169
+ }
162
170
}
163
171
}
164
172
}
Original file line number Diff line number Diff line change 215
215
}
216
216
],
217
217
"ignore" : [" firebase.json" , " **/.*" , " **/node_modules/**" ]
218
+ },
219
+ {
220
+ "target" : " sparkle-ohbm" ,
221
+ "public" : " build" ,
222
+ "rewrites" : [
223
+ {
224
+ "source" : " **" ,
225
+ "destination" : " /index.html"
226
+ }
227
+ ],
228
+ "ignore" : [" firebase.json" , " **/.*" , " **/node_modules/**" ]
218
229
}
219
230
],
220
231
"functions" : {
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ if (BUGSNAG_API_KEY) {
151
151
"env/kotr" ,
152
152
"env/memrise" ,
153
153
"env/unesco" ,
154
+ "env/ohbm" ,
154
155
] ;
155
156
156
157
const releaseStage = ( ) => {
You can’t perform that action at this time.
0 commit comments