You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if: contains(github.event.pull_request.labels.*.name, 'spin up environment')
25
+
26
+
steps:
27
+
- name: Checkout repository
28
+
uses: actions/checkout@v2
29
+
30
+
- name: Azure login
31
+
uses: azure/login@v1
32
+
with:
33
+
creds: ${{ secrets.AZURE_CREDENTIALS }}
34
+
35
+
- name: Create Azure resource group
36
+
if: success()
37
+
run: |
38
+
az group create --location ${{env.AZURE_LOCATION}} --name ${{env.AZURE_RESOURCE_GROUP}} --subscription ${{secrets.AZURE_SUBSCRIPTION_ID}}
39
+
40
+
- name: Create Azure app service plan
41
+
if: success()
42
+
run: |
43
+
az appservice plan create --resource-group ${{env.AZURE_RESOURCE_GROUP}} --name ${{env.AZURE_APP_PLAN}} --is-linux --sku F1 --subscription ${{secrets.AZURE_SUBSCRIPTION_ID}}
0 commit comments