Skip to content

Commit 054be81

Browse files
committed
Update azure dev workflow to be non-empty
1 parent 96e5c95 commit 054be81

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/azure-dev.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Azure Developer CLI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
container:
16+
image: mcr.microsoft.com/azure-dev-cli-apps:latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Log in with Azure
22+
uses: azure/login@v1
23+
with:
24+
creds: ${{ secrets.AZURE_CREDENTIALS }}
25+
26+
- name: Azure Dev Provision
27+
run: azd provision --no-prompt
28+
env:
29+
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
30+
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
31+
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
32+
33+
- name: Azure Dev Deploy
34+
run: azd deploy --no-prompt
35+
env:
36+
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
37+
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
38+
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

0 commit comments

Comments
 (0)