File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 20
20
args : ['run', 'build']
21
21
env :
22
22
- ' ELEVENTY_ENV=prod'
23
- - ' NODE_OPTIONS=--max_old_space_size=4096`
23
+ - " NODE_OPTIONS=' --max_old_space_size=4096' "
24
24
25
25
- name : ' gcr.io/$PROJECT_ID/firebase'
26
26
id : ' Deploy site to Firebase'
Original file line number Diff line number Diff line change @@ -66,10 +66,14 @@ const getDeployedVersion = () => {
66
66
return ;
67
67
}
68
68
69
- // This just waits for the build to be kicked off, not for its completion (it
70
- // returns a LROperation).
71
- await client . runBuildTrigger ( {
72
- projectId : process . env . PROJECT_ID ,
73
- triggerId : deployTriggerId ,
74
- } ) ;
69
+ try {
70
+ // This just waits for the build to be kicked off, not for its completion (it
71
+ // returns a LROperation).
72
+ await client . runBuildTrigger ( {
73
+ projectId : process . env . PROJECT_ID ,
74
+ triggerId : deployTriggerId ,
75
+ } ) ;
76
+ } catch ( e ) {
77
+ errors . report ( e ) ;
78
+ }
75
79
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments