Skip to content

Commit 52235e1

Browse files
committed
config: Check Azure Creds
1 parent 4446f0b commit 52235e1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/CD.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ jobs:
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@master
18-
19-
- name: Azure CLI script
20-
uses: azure/CLI@v1
18+
- uses: azure/login@v1
2119
with:
22-
azcliversion: 2.0.72
23-
inlineScript: |
24-
az account show
25-
az storage -h{}
20+
creds: ${{ secrets.AZURE_CREDENTIALS }}
21+
22+
- run: |
23+
az webapp list --query "[?state=='Running']"
2624
2725
- uses: actions/setup-node@v1
2826
with:

0 commit comments

Comments
 (0)