Help Center/ CodeArts Artifact/ User Guide/ Self-Hosted Repos (New)/ Managing Repositories/ Configuring Deployment Policies
Updated on 2026-08-10 GMT+08:00
Configuring Deployment Policies
You can set policies to control how artifacts are uploaded to your repository, such as whether new artifacts can redeploy existing ones in the same path.
Procedure
- Access self-hosted repos using your Huawei Cloud account.
- In the left pane, click the name of the target repository.
- Click Settings on the right of the page and click the Deployment Policies tab. Figure 1 Configuring deployment policies
- Allow redeploy (selected by default): Artifacts in the same path can be uploaded, replacing the original package.
- Disable redeploy: Artifacts in the same path cannot be uploaded.
- Read-only: Artifacts cannot be uploaded, updated, or deleted. You can download an uploaded artifact.
- Settings are automatically saved by the system.
Parent topic: Managing Repositories
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot