์ง๊ธ์ ๋ค์๊ณผ ๊ฐ์ ๊ทธ๋ฃน์ ํตํด ํน์ ๊ธฐ๋ฅ ์
deploy --only functions:groupA
(์๋)
์ฌ๋ฌ ๊ทธ๋ฃน์ ์ง์ ํ ์์๋ ๊ฒ์ ์์ฐ์ค๋ฌ์ ๋ณด์
๋๋ค. ์ :
deploy --only functions:groupA groupC
(์๋ํ์ง ์์)
๊ธฐ๋ฅ ์์ฒญ์ผ๋ก ๊ธฐ๋ฅ์ ๋ฐฐํฌ ํ ๋ ์ฌ๋ฌ ๊ทธ๋ฃน์ ์ง์ ํ๋ ์ง์์ ํฐ ๋์์ด ๋ ๊ฒ์ ๋๋ค.
์๋ง๋ 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 ์์ ๋ฌธ์ / ์์ ์ ์ถ๊ฐํ๋ฉด ๋์์ด ๋ ์ ์์ต๋๋ค.
๊ทธ๊ฒ์.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@rilian ์ด ๋ง์ต๋๋ค.
firebase help deploy
๋ช ๋ น์์ :