This actions creates a JSON file containing all information to deploy an artifact to a platform, e.g. Cloud Foundry.
source-file
Default: deploymentInfo.json
Specifies the filename of the json file.
archive-path
Default: Empty string
Specifies the directory where the deployment information json file is located. Trailing slash (/
) is not supported.
See also action.yml.
This actions expects a deployment information JSON file with nahme <source-filename>
in the director <archive-path>
.
The expected JSON structure looks as follows:
{
"artifactPath": "<artifact-path>",
"manifestPath": "<manifest-path>"
}
This parameters can be used in further steps of the workflow. The GitHub Actions documentation for outputs describes the usage of output parameters.
cf-manifest-path
Contains the path to the manifest file required to deploy to Cloud Foundry.
artifact-path
Contains the path to the artifact to deploy.
See also action.yml.
...
- name: Read deploymentInfo.json
id: deploymentInfo
uses: comsysto/deployment-information-action/[email protected]
with:
source-filename: <source-filename>
archive-path: <archive-path>
...
A more complete example can be found in the root README.md.