This topic describes how to deploy hex packages to Hex local repositories in Artifactory. It provides instructions to deploy hex packages via API to resolve them in your organization's development activities.
Prerequisite
Download Public Key to Hex Project Folder
To deploy hex packages via API, follow these steps:
Refer to View Set Me Up Instructions - Hex Repository topic to view Configure and Deploy code snippets.
Copy the code snippet and paste it into the CLI.
For example, to deploy a hex package into a repository called
hex-local
, you could use the following:curl -u<USERNAME>:<PASSWORD> -XPUT http://localhost:8080/artifactory/hex-local/tarballs -T <HEX_PACKAGE_TAR_FILE_PATH>
where
<HEX_PACKAGE_TAR_FILE_PATH>
specifies the path from the repository root to the deploy folder.