I use an Express app on cloud functions deployed with the Firebase CLI. What is the way to deploy only one specific function?
const app = express();
app.post('/sample-1', (req, res) => {
//
});
app.post('/sample-2', (req, res) => {
//
});
when I try:
firebase deploy --only functions:app
it deploys all app functions (sample-1
, sample-2
... )
Is there a way to deploy only a specific Eexpress app function like sample-1
?