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 03ff562 commit 60ff050Copy full SHA for 60ff050
scripts/ci-test/deploy-if-needed.ts
@@ -15,11 +15,6 @@
15
* limitations under the License.
16
*/
17
18
-/**
19
- * Deploy Firebase project config files (functions, rules) to CI
20
- * test project if there have been any changes to them.
21
- */
22
-
23
import { resolve } from 'path';
24
import chalk from 'chalk';
25
import simpleGit from 'simple-git';
@@ -48,6 +43,11 @@ const projectConfigGroups = [
48
43
{ file: 'config/functions/index.js', flag: 'functions' }
49
44
];
50
45
46
+
47
+/**
+ * Deploy Firebase project config files (functions, rules) to CI
+ * test project if there have been any changes to them.
+ */
51
async function deployIfNeeded() {
52
const token = process.env.FIREBASE_CLI_TOKEN;
53
if (!token) {
0 commit comments