Promote is a builtin action, you can’t modify it.
This action promote artifacts in an artifact manager
No Requirement
Example of a pipeline using Promote action:
version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
stage: Stage1
steps:
- promote:
artifacts: (.*).zip
Implementation for artifactory can be found on GitHub