> Discover all available pages from the documentation index: https://mastra.zisheng.pro/zh-HK/llms.txt # Mastra.getDeployer() `.getDeployer()` 方法用於擷取 Mastra 實例中已設定的 deployer 實例。 ## 使用範例 ```typescript mastra.getDeployer() ``` ## 參數 此方法不接受任何參數。 ## 傳回值 **deployer** (`MastraDeployer | undefined`): 已設定的 deployer 實例;如未設定 deployer,則為 undefined。 ## 相關內容 - [部署概覽](https://mastra.zisheng.pro/zh-HK/docs/deployment/overview) - [Deployer 參考](https://mastra.zisheng.pro/zh-HK/reference/deployer)