From 1ab2192eba387bca0e692234aa2c8857d473f6c1 Mon Sep 17 00:00:00 2001 From: garvitarai <56849451+garvitarai@users.noreply.github.com> Date: Thu, 21 Jan 2021 21:21:13 -0800 Subject: [PATCH] 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 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8375861c..105b3a11 100644 --- a/README.md +++ b/README.md @@ -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.