Create main.yml
This commit is contained in:
Родитель
7568e9c4d4
Коммит
69dd32f944
|
@ -0,0 +1,33 @@
|
||||||
|
name: Unattended Deployment
|
||||||
|
|
||||||
|
env:
|
||||||
|
iteration: ${{github.run_number}}
|
||||||
|
|
||||||
|
# Controls when the workflow will run
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
- master
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
run_main-sh:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Run main.sh script
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# nothing
|
||||||
|
- name: 'Login via Azure CLI'
|
||||||
|
uses: azure/login@v1
|
||||||
|
with:
|
||||||
|
creds: ${{ secrets.KGATES_AZURE_SP }}
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Call the script
|
||||||
|
run: bash ./main.sh -a msal-test-kgates$iteration -c easyauth-kgates$iteration -r easy-auth$iteration -e kgates@microsoft.com -d microsoft.com -l eastus
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче