Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ if [ -z "$FIREBASE_TOKEN" ]; then
exit 126
fi

if [ -n "$PROJECT_PATH" ]; then
cd $PROJECT_PATH
fi

if [ -n "$PROJECT_ID" ]; then
echo "setting firebase project to $PROJECT_ID"
firebase use --add $PROJECT_ID
fi

if [ -n "$PROJECT_PATH" ]; then
cd $PROJECT_PATH
fi

sh -c "firebase $*"