clarify placement of env

This commit is contained in:
Nate Rickard
2022-09-19 17:03:40 -04:00
parent cf5156055a
commit aa60025356
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ Open the workflow that is generated and inspect the contents. Now the `DotnetCor
You can also use custom transformers to edit the values of environment variables in converted workflows. In this example, you will be updating the `BUILDCONFIGURATION` environment variable to be `Debug` instead of `Release`.
To do this, add the following code to the `transformers.rb` file.
To do this, add the following code at the top of the `transformers.rb` file.
```ruby
env "BUILDCONFIGURATION", "Debug"
+1 -1
View File
@@ -119,7 +119,7 @@ end
You can also use custom transformers to edit the values of environment variables in converted workflows. In this example, you will update the `PLAN_JSON` environment variable to be `custom_plan.json` instead of `plan.json`.
To do this, add the following code to the `transformers.rb` file.
To do this, add the following code at the top of the `transformers.rb` file.
```ruby
env "PLAN_JSON", "custom_plan.json"
+1 -1
View File
@@ -205,7 +205,7 @@ Now you can perform another `dry-run` command with the `--custom-transformers` C
You can also use custom transformers to edit the values of environment variables in converted workflows. In this example, you will be updating the `DB_ENGINE` environment variable to be `mongodb` instead of `sqlite`.
To do this, add the following code to the `transformers.rb` file.
To do this, add the following code at the top of the `transformers.rb` file.
```ruby
env "DB_ENGINE", "mongodb"