Deploy File
A simple way to get one or more files quickly onto your device is to use the Deploy Files step type in a JFrog Connect update flow.
The Deploy Files step type enables the quick distribution of one or more files to your devices. To deliver a file, the step type facilitates a two-step process:
You upload of the requested file to Artifactory.
Devices pull the file from Artifactory.
This functionality is primarily utilized for quick deployment of specific files or binaries to your devices, eliminating the necessity to upload them beforehand.
Prerequisites
JFrog Connect and JFrog Platform accounts.
Connect Agent 6.0 or later and at least one device registered.
One or more files ready for deployment.
In the Create Update Flow procedure, completed through Step 3.
Add a Step and Configure the Step Type
To add a step and configure the step type you have chosen, do the following:
In the Create New Flow page, click Add Step.
In the Step Type dropdown list, choose Deploy File, give the step a Step Name, and create the step.
Enter (drag and drop, or browse) the file in the file box.
Enter Device Destination Path. You can also make this a variable, for example {{device-destination-path}}. You will then enter the value for the variable upon deployment.

(Optional) Configure your On Failure policy and instructions for rolling back.
Save your step configuration.
(Optional) If you want to deliver more than one file, create a Deploy File step for each file.
What’s Next?
Learn how to deliver containers to your edge devices using the Deploy Docker Image step type.
Was this helpful?