Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
StiviiK committed May 27, 2020
1 parent 6666ae2 commit a700217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}
resourceGroupName: <YourResourceGroup>
templateLocation: <path/to/azuredeploy.json>
parametersLocation: <path/to/parameters.json> OR <KEY=VALUE>
parameters: <path/to/parameters.json> OR <KEY=VALUE>
deploymentName: <Deployment base name>
```
For more advanced workflows see [examples/Advanced.md](examples/Advanced.md).
6 changes: 3 additions & 3 deletions examples/Advanced.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Advanced example on how to use this Action
In this exmaple we deploy 2 templates (for the sake of the example the same template) but the seccond one depends on the first one as we need first the output of first one and seccond we need to override a parameter in the seccond template.
Our template has two outputs `location` and `containerName`. But here we only interested in `containerName`, the first template will output that one and the seccond one requires that and appends `-overriden` so we can see it got overriden.
In this exmaple we deploy 2 templates (for the sake of the example the same template) but the second one depends on the first one as we need first the output of first one and second we need to override a parameter in the second template.
Our template has two outputs `location` and `containerName`. But we are only interested in `containerName`, the first template will output that one and the second one requires that and appends `-overriden` so we can see it got overriden.

## Steps
```yaml
Expand Down Expand Up @@ -34,7 +34,7 @@ If we now add a Shell script with a simple echo from that value,
```
we can see that on the console will be `github-action` printed.

Now we add our seccond deployment which relies on that value and modfies the `containerName` parameter,
Now we add our second deployment which relies on that value and modfies the `containerName` parameter,
```yaml
- uses: whiteducksoftware/azure-arm-action@v3
id: deploy2
Expand Down

0 comments on commit a700217

Please sign in to comment.