mirror of
https://github.com/azure/login.git
synced 2026-06-08 01:47:21 +00:00
updating login action reference on ASH sample workflow (#97)
* updating login action reference on ASH sample workflow * added links to the official microsoft docs tutorial
This commit is contained in:
parent
80970a8c03
commit
1ab2192eba
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: azure/login@AzureStackSupport-Beta
|
||||
- uses: azure/login@v1
|
||||
with:
|
||||
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
environment: 'AzureStack'
|
||||
|
|
@ -120,6 +120,8 @@ jobs:
|
|||
az webapp list --query "[?state=='Running']"
|
||||
|
||||
```
|
||||
Refer to the [Azure Stack Hub Login Action Tutorial](https://docs.microsoft.com/en-us/azure-stack/user/ci-cd-github-action-login-cli?view=azs-2008) for more detailed instructions.
|
||||
|
||||
## Configure deployment credentials:
|
||||
|
||||
The previous sample workflows depend on a [secrets](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets) named `AZURE_CREDENTIALS` in your repository. The value of this secret is expected to be a JSON object that represents a service principal (an identifer for an application or process) that authenticates the workflow with Azure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue