You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added in a flag for '--force' when deploying changes that may increase your bill, such as minimum instances required.
* updated force flag to accept a boolean value.
:
* updated tests for using force flag
* updated formatting to match contributor guidelines
* Update action.yml
Co-authored-by: Bryan Kendall <bryan.a.kendall@gmail.com>
* accepted update to action.yml for 'force' flag description, added support for channel site deployment with force flag. Updated tests to and types to account for force flags. Force flag is now optional on ProductionDeployConfig and ChannelDeployConfig. Simplified deploy calls using force flag to automatically append force based on the boolean value nad removed the force-specific branch in index.ts
* updated test to use the correct ChannelDeployConfig
* merged remote main branch updates and formatted, tests are passing now
* removed unused types for tests
---------
Co-authored-by: Bryan Kendall <bryan.a.kendall@gmail.com>
Copy file name to clipboardExpand all lines: action.yml
+8-13Lines changed: 8 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -33,25 +33,16 @@ inputs:
33
33
default: "7d"
34
34
required: false
35
35
projectId:
36
-
description:
37
-
"The project to deploy to. If you leave this blank, make sure you check in
38
-
a .firebaserc file"
36
+
description: "The project to deploy to. If you leave this blank, make sure you check in a .firebaserc file"
39
37
required: false
40
38
channelId:
41
-
description: "The ID of the channel to deploy to. If you leave this blank,
42
-
a preview channel and its ID will be auto-generated per branch or PR."
39
+
description: "The ID of the channel to deploy to. If you leave this blank, a preview channel and its ID will be auto-generated per branch or PR."
43
40
required: false
44
41
target:
45
-
description:
46
-
"The target name of the Hosting site to deploy to. If you leave this blank,
47
-
the default target or all targets defined in the .firebaserc will be deployed to.
48
-
Refer to the Hosting docs about [multiple sites](https://firebase.google.com/docs/hosting/multisites)
49
-
for more information about deploy targets."
42
+
description: "The target name of the Hosting site to deploy to. If you leave this blank, the default target or all targets defined in the .firebaserc will be deployed to. Refer to the Hosting docs about [multiple sites](https://firebase.google.com/docs/hosting/multisites) for more information about deploy targets."
50
43
required: false
51
44
entryPoint:
52
-
description:
53
-
"The location of your firebase.json file, relative to the root of your
54
-
directory"
45
+
description: "The location of your firebase.json file, relative to the root of your directory"
55
46
default: "."
56
47
required: false
57
48
firebaseToolsVersion:
@@ -64,6 +55,10 @@ inputs:
64
55
Disable auto-commenting with the preview channel URL to the pull request
65
56
default: "false"
66
57
required: false
58
+
force:
59
+
description: "Pass 'true' to use the --force flag with firebase deploy. This will automatically accept any warning or prompts during deploy. Use with caution."
0 commit comments