Skip to content

Commit 6202bd7

Browse files
authored
Create azuredevops.yaml
1 parent b94c950 commit 6202bd7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/azuredevops.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Create Azure Resource Group
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Login to Azure
17+
uses: azure/login@v1
18+
with:
19+
creds: ${{ secrets.AZURE_CREDENTIALS }}
20+
21+
- name: Create Resource Group
22+
run: |
23+
az group create --name myResourceGroup --location eastus
24+
25+
- name: Logout of Azure
26+
run: az logout

0 commit comments

Comments
 (0)