Firebase-tools: ํ•จ์ˆ˜ ๋ฐฐํฌ์‹œ ์—ฌ๋Ÿฌ ๊ทธ๋ฃน ์ง€์ •

์— ๋งŒ๋“  2018๋…„ 12์›” 05์ผ  ยท  5์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: firebase/firebase-tools

์ง€๊ธˆ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ทธ๋ฃน์„ ํ†ตํ•ด ํŠน์ • ๊ธฐ๋Šฅ ์„
deploy --only functions:groupA (์ž‘๋™)

์—ฌ๋Ÿฌ ๊ทธ๋ฃน์„ ์ง€์ •ํ•  ์ˆ˜์žˆ๋Š” ๊ฒƒ์€ ์ž์—ฐ์Šค๋Ÿฌ์›Œ ๋ณด์ž…๋‹ˆ๋‹ค. ์˜ˆ :
deploy --only functions:groupA groupC (์ž‘๋™ํ•˜์ง€ ์•Š์Œ)

๊ธฐ๋Šฅ ์š”์ฒญ์œผ๋กœ ๊ธฐ๋Šฅ์„ ๋ฐฐํฌ ํ•  ๋•Œ ์—ฌ๋Ÿฌ ๊ทธ๋ฃน์„ ์ง€์ •ํ•˜๋Š” ์ง€์›์€ ํฐ ๋„์›€์ด ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

question

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

@rilian ์ด ๋งž์Šต๋‹ˆ๋‹ค.

firebase help deploy ๋ช…๋ น์—์„œ :

--only <targets> only deploy to specified, comma-separated targets (e.g. "hosting,storage"). For functions, can specify filters with colons to scope function deploys to only those functions (e.g. "--only functions:func1,functions:func2"). When filtering based on export groups (the exported module object keys), use dots to specify group names (e.g. "--only functions:group1.subgroup1,functions:group2)"

๋ชจ๋“  5 ๋Œ“๊ธ€

์•„๋งˆ๋„ deploy --only functions:groupA,functions:groupC ๋ฅผ ์‚ฌ์šฉํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.

@rilian ์ด ๋งž์Šต๋‹ˆ๋‹ค.

firebase help deploy ๋ช…๋ น์—์„œ :

--only <targets> only deploy to specified, comma-separated targets (e.g. "hosting,storage"). For functions, can specify filters with colons to scope function deploys to only those functions (e.g. "--only functions:func1,functions:func2"). When filtering based on export groups (the exported module object keys), use dots to specify group names (e.g. "--only functions:group1.subgroup1,functions:group2)"

์•„, ์ข‹์•„์š”! ์‚ฌ์‹ค ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„ํ•˜์—ฌ ์‹œ๋„ํ–ˆ์ง€๋งŒ 'ํ•จ์ˆ˜ :'๋ฅผ ๊ฐ ๊ทธ๋ฃน์—์„œ ๋ฐ˜๋ณตํ•ด์•ผํ•œ๋‹ค๋Š” ์‚ฌ์‹ค์„ ๋†“์ณค์Šต๋‹ˆ๋‹ค.

์ด๊ฒƒ์„ ๋ฐœ๊ฒฌํ•˜๊ฒŒ๋˜์–ด ๋งค์šฐ ๊ธฐ์ฉ๋‹ˆ๋‹ค. ์ฐธ์กฐ ํ•ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์— ๋„์›€๋ง ๋ช…๋ น์„ ํ™•์ธํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

https://firebase.google.com/docs/cli/#deploy_specific_functions ์—์„œ ๋ฌธ์„œ / ์˜ˆ์ œ์— ์ถ”๊ฐ€ํ•˜๋ฉด ๋„์›€์ด ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๊ฒƒ์€.

image

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰