تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تتيح لك عمليات النشر إتاحة استخدام "موصِّل المنتدى"
واختباره. يتم إنشاء عملية نشر الرأس تلقائيًا في لغة برمجة التطبيقات وستتضمّن دائمًا نسخة العمل الحالية من الرمز. ومع ذلك، يمكنك إجراء عمليات نشر إضافية
بناءً على إصدارات منفصلة من تطبيق "موصِّل المنتدى".
على سبيل المثال، بالإضافة إلى نشر Head، يجب أن يكون لديك عملية نشر اختبارية أو عملية نشر. يساعد ذلك في ضمان إصدار إصدار ثابت
واختباري من الموصل للمستخدمين.
الاحتفاظ بإصدارات مختلفة من الرمز
أثناء تطوير "موصِّل المنتدى" في لغة "برمجة تطبيقات Google"، يجب الاحتفاظ بإصدارات منفصلة من رمز الموصِّل للإنتاج والتطوير. يجب عليك أيضًا أن تكون على دراية بكيفية نشر الإصدارات المختلفة.
للحفاظ على إصدارات مختلفة من مشروع "برمجة تطبيقات Google"، يُرجى الاطّلاع على مستندات الإصدارات حول "برمجة التطبيقات".
إذا كنت تنشر الموصِّل أو تشاركه مع مستخدمين آخرين، قد تحتاج إلى تقديم رموز تصحيح أو تحديثات في المستقبل. لإجراء ذلك، يمكنك تعديل عملية النشر الحالية
في قائمة عمليات النشر واختيار الإصدار الذي تريد نشره.
بهذه الطريقة، لن يحتاج المستخدمون إلى اتخاذ أي إجراء إضافي وسيتلقّون التحديث تلقائيًا.
أفضل الممارسات: الحفاظ على عمليات نشر الرأس والاختبار والإنتاج منفصلة
ستحتوي عملية نشر Latest Version (HEAD) دائمًا على أحدث إصدار من الرمز. يجب استخدام عملية النشر هذه لأغراض التطوير فقط. بالإضافة إلى عملية النشر HEAD، يجب أن تتوفّر لديك عملية نشر تجريبية ونشر الإنتاج. أثناء تطوير الموصل، احتفظ بنُسخ تدريجية من الرمز ثم خصِّص الإصدارات المناسبة لعمليتَي النشر الاختبار والإنتاج.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]