Update travis/4-custom-transformers.md
Co-authored-by: j-dunham <j-dunham@github.com>
This commit is contained in:
@@ -153,7 +153,7 @@ The converted workflow that is generated by the above command will now use the c
|
||||
+ aws deploy create-deployment --application-name MyApp --deployment-group-name MyDeploymentGroup --github-location repository=$GITHUB_REPOSITORY,commitId=$commit_hash --ignore-application-stop-failures
|
||||
```
|
||||
|
||||
_Note_: We hard coded certain values such as the `application-name`, but we can apply these properties programatically as well. If you were unsure what the data structure of `item` was, you could use the following code in the custom transformer to print `item` to the console:
|
||||
_Note_: We hard coded certain values such as the `application-name`, but we can apply these properties programmatically as well by using the item passed into the transform method. If you were unsure what the data structure of `item` was, you could use the following code in the custom transformer to print `item` to the console:
|
||||
|
||||
```ruby
|
||||
transform "codecov_codecov_upload" do |item|
|
||||
|
||||
Reference in New Issue
Block a user