Skip to content

Commit 204b470

Browse files
ThadCastl3bkendalljhuleatt
authored
Updated README for 'force' command (#429)
* 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 <[email protected]> * 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 * updated readme for force flag * Update README.md Co-authored-by: Jeff <[email protected]> --------- Co-authored-by: Bryan Kendall <[email protected]> Co-authored-by: Jeff <[email protected]>
1 parent 2ff89d6 commit 204b470

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
5353
expires: 30d
5454
projectId: your-Firebase-project-ID
55+
# Optionally add Force flag
56+
# force: true
5557
```
5658

5759
### Deploy to your live channel on merge
@@ -81,6 +83,8 @@ jobs:
8183
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
8284
projectId: your-Firebase-project-ID
8385
channelId: live
86+
# Optionally add Force flag
87+
# force: true
8488
```
8589

8690
## Options
@@ -151,6 +155,10 @@ The version of `firebase-tools` to use. If not specified, defaults to `latest`.
151155

152156
Disable commenting in a PR with the preview URL.
153157

158+
### `force` _{boolean}_
159+
160+
Uses the Firebase CLI's `--force` flag to automatically accept all interactive prompts.
161+
154162
## Outputs
155163

156164
Values emitted by this action that can be consumed by other actions later in your workflow

0 commit comments

Comments
 (0)