배포를 통해 커뮤니티 커넥터를 사용하고 테스트할 수 있습니다. 헤드 배포는 기본적으로 Apps Script에서 생성되며 항상 현재 작동하는 코드 버전을 포함합니다. 하지만 별도의 버전의 커뮤니티 커넥터에 따라 추가 배포를 만들 수 있습니다.
예를 들어 헤드 배포 외에도 테스트 배포와 프로덕션 배포가 있어야 합니다. 이렇게 하면 안정적이고 테스트된 버전의 커넥터가 사용자에게 출시될 수 있습니다.
다른 버전의 코드 유지관리
Apps Script에서 커뮤니티 커넥터를 개발할 때 프로덕션 및 개발을 위해 별도의 버전의 커넥터 코드를 유지해야 합니다. 또한 다양한 버전을 배포하는 방법도 숙지해야 합니다.
다른 버전의 Apps Script 프로젝트를 유지관리하려면 Apps Script의 버전 문서를 참조하세요.
최신 버전 (HEAD) 배포에는 항상 최신 버전의 코드가 포함됩니다. 이 배포는 개발 목적으로만 사용해야 합니다. HEAD 배포 외에도 Test 배포와 프로덕션 배포가 있어야 합니다. 커넥터를 개발할 때 코드의 증분 버전을 유지한 다음 테스트 및 프로덕션 배포에 적절한 버전을 할당합니다.
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eDeployments make your Community Connector available for use and testing, with the Head Deployment automatically containing the latest code version.\u003c/p\u003e\n"],["\u003cp\u003eMaintaining separate versions for production and development, along with understanding deployment management, is crucial for connector stability.\u003c/p\u003e\n"],["\u003cp\u003eCreating separate deployments like Test and Production, in addition to the Head deployment, ensures a controlled release process.\u003c/p\u003e\n"],["\u003cp\u003eUpdates to existing deployments can be made by editing the deployment and selecting the desired version, automatically updating for users.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing version control within Apps Script and following deployment best practices provides a stable and efficient connector development workflow.\u003c/p\u003e\n"]]],[],null,["# Deploy a Community Connector\n\nDeployments allow you to make your Community Connector available to use and\ntest. The Head Deployment is created by default in Apps Script and will always\ncontain the current working version of the code. However, you can have\nadditional deployments based on separate versions of your Community Connector.\nFor example, in addition to the *Head* deployment, you should have a *Test*\ndeployment and a *Production* deployment. This helps to ensure a stable and\ntested version of your connector is released to users.\n\nMaintain different versions of your code\n----------------------------------------\n\nAs you develop your Community Connector in Apps Script, you should maintain\nseparate versions of your connector code for production and development. You\nshould also become familiar with how to deploy different versions.\n\nTo maintain different versions of the Apps Script project, please see the\n[Versions documentation](/apps-script/guides/versions) for Apps Script.\n\nCreate separate deployments\n---------------------------\n\nFor instructions to create deployments, see [Create a versioned deployment](/apps-script/concepts/deployments#create_a_versioned_deployment).\n\nAdd updates to an existing deployment\n-------------------------------------\n\nIf you are publishing or sharing your connector with other users, you might want\nto provide patches or updates in the future. To do so, **Edit** the existing\ndeployment in the deployments list and choose the version you want to deploy.\nThis way, the users do not have to do anything additional and will receive the\nupdate automatically.\n\nFor instructions to edit deployments, see [Edit a versioned deployment](/apps-script/concepts/deployments#edit_a_versioned_deployment).\n\n| **Note:** If the connector's creator is using a Google Workspace account, the connector will have to be deployed from an account on the same domain. Consumer (e.g. gmail.com) accounts or Google Workspace accounts of a different domain will not be able to update deployments.\n\nBest practice: keep separate HEAD, Test and Production deployments\n------------------------------------------------------------------\n\nThe *Latest Version (HEAD)* deployment will always contain the latest version of\nthe code. This deployment should be used for development purposes only. In\naddition to the *HEAD* deployment, you should have a *Test* deployment and a\n*Production* deployment. As you develop your connector, maintain incremental\nversions of your code and then assign appropriate versions to the *Test* and\n*Production* deployments."]]