File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments