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

Commit

Permalink
Add missing Documentation about outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
StiviiK committed May 25, 2020
1 parent a236fc5 commit 8de24b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ A GitHub Action to deploy ARM templates.
(See [assets/json/serviceprincipal.json](assets/json/parameters.json))

## Outputs

Every template output will be exported as output. For example the output is called `containerName` then it will be available with `${{ steps.STEP.outputs.containerName }}`
Additionally are the following outputs available:
* `deploymentName` Specifies the complete deployment name which has been generated

## Usage

```yml
- uses: whiteducksoftware/azure-arm-action@v2.2
- uses: whiteducksoftware/azure-arm-action@v2.3
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
resourceGroupName: <YourResourceGroup>
Expand All @@ -57,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: whiteducksoftware/azure-arm-action@v2.2
- uses: whiteducksoftware/azure-arm-action@v2.3
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
resourceGroupName: <YourResourceGroup>
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ branding:
icon: package
runs:
using: 'docker'
image: 'docker://whiteduck/azure-arm-action:v2.2'
image: 'docker://whiteduck/azure-arm-action:v2.3'

0 comments on commit 8de24b5

Please sign in to comment.