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
Adding `repoToken: "${{secrets.GITHUB_TOKEN}}"` lets the action comment on PRs
81
-
with the link to the deploy preview. You don't need to set this secret
82
-
yourself - github will set it automatically.
81
+
with the preview URL for the associated preview channel. You don't need to set
82
+
this secret yourself - GitHub sets it automatically.
83
83
84
84
If you omit this option, you'll need to find the preview URL in the action's
85
85
build log.
86
86
87
87
### `expires` _{string}_
88
88
89
-
The length of time the channel should live. If left blank, uses the Firebase Hosting default expiry (7 days).
89
+
The length of time the preview channel should remain active.
90
+
If left blank, the action uses the default expiry of 7 days.
90
91
91
92
### `projectId` _{string}_
92
93
93
-
The project to deploy to. If you leave this blank, be sure to check in a
94
-
`.firebaserc`file so the CLI knows what project to deploy to.
94
+
The Firebase project that contains the Hosting site to which you
95
+
want to deploy. If left blank, you need to check in a `.firebaserc`
96
+
file so that the Firebase CLI knows which Firebase project to use.
95
97
96
98
### `channelId` _{string}_
97
99
98
-
The channel to deploy to. If you don't set it, a new channel will be created
99
-
per-PR or per-branch. If you set it to **`live`**, the action will deploy to your production Hosting site.
100
+
The channel to deploy to. If you don't set it, the action creates
101
+
a new preview channel per-PR or per-branch. If you set it to **`live`**,
102
+
the action deploys to the live channel of your default Hosting site.
100
103
101
-
You usually want to leave this blank so that each PR gets its own channel,
102
-
unless you know you want to deploy a certain branch to a long-lived channel (for
103
-
example, you may want to deploy every commit from your `next` branch to a
104
-
`preprod`channel)
104
+
You usually want to leave this blank so that each PR gets its own preview channel.
105
+
An exception might be that you always want to deploy a certain branch to a
106
+
long-lived preview channel (for example, you may want to deploy every commit
107
+
from your `next` branch to a `preprod` preview channel).
105
108
106
109
### `entryPoint` _{string}_
107
110
108
-
The location of your [`firebase.json`](https://firebase.google.com/docs/cli#the_firebasejson_file) file relative to the root of your repository. Defaults to `.` (the root of your repo).
111
+
The location of your [`firebase.json`](https://firebase.google.com/docs/cli#the_firebasejson_file)
112
+
file relative to the root of your repository. Defaults to `.` (the root of your repo).
0 commit comments