Description
This command takes an input resource and creates an exact copy. This helps you to transfer metadata from one step to the next.
Usage
Shell | Function |
---|---|
Bash |
|
PowerShell |
|
from_resource
is the name of theinputResources
resource that you're copying from.to_resource
is the name of theoutputResources
resource that will receive the replicated data from thefrom_resource
.Any pre-existing files or key-value pairs in theto_resource
will be replaced.match-settings
option should be set when you want the replication to adhere to any branch/tag settings in theto_resource
. For example, If yourfrom_resource
gitRepo can trigger on both commits and pull requests, but you only want to update yourto_resource
on commits, you can replicate with --match-settings, and theto_resource
will only be updated when thefrom_resource
had a commit.