Skip to content

Commit 53f754d

Browse files
authored
Merge pull request #4 from praharshbhatt/feat/path
2 parents 312246e + 5e7116f commit 53f754d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
cd functions; npm install
3+
FUNCTIONS_DIR=${FUNCTIONS_DIR:-functions}
4+
5+
cd $FUNCTIONS_DIR; npm install
46

57
if [ -z "${FIREBASE_TOKEN}" ]; then
68
echo "FIREBASE_TOKEN is missing"
@@ -15,4 +17,4 @@ fi
1517
firebase deploy \
1618
-m "${GITHUB_REF} (${GITHUB_SHA})" \
1719
--project ${FIREBASE_PROJECT} \
18-
--only functions
20+
--only functions

0 commit comments

Comments
 (0)