We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72015ae commit b5b3e18Copy full SHA for b5b3e18
src/main.ts
@@ -212,6 +212,16 @@ async function run(): Promise<void> {
212
};
213
})(),
214
});
215
+
216
+ if (resp.status !== 'ACTIVE') {
217
+ throw new Error(
218
+ `Cloud Function deployment finished, but the function not in the ` +
219
+ `"ACTIVE" status. The current status is "${resp.status}", which ` +
220
+ `could indicate a failed deployment. Check the Cloud Function ` +
221
+ `logs for more information.`,
222
+ );
223
+ }
224
225
if (resp.httpsTrigger?.url) {
226
setOutput('url', resp.httpsTrigger.url);
227
} else {
0 commit comments