Currently, build and deploy are done in one step, and I'm trying to modify the .yml to separate the build and deploy steps.
From the above, it is assumed that only the deploy steps from the pipeline history can be "redeployed".
However, the build results written to "opt / atlassian / pipes / agent / build / **" seem to be deleted when the run is complete.
In order to perform "redeploy", I think that it is necessary to upload the build result to storage such as Amazon S3 by using "artifact" in .yml.
Please tell me how to create .yml scripts below.
-How to upload build results to Amazon S3 using "artifacts".
-How to deploy from the build result uploaded to Amazon S3.