-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 804 Bytes
/
basic.yml
File metadata and controls
36 lines (31 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Basic workflow
# Trigger
on:
workflow_dispatch:
inputs:
environment:
type: environment
required: true
description: Target environment
# For OIDC
permissions:
id-token: write
contents: read
jobs:
job1:
name: Job 1
environment: Production
runs-on: ubuntu-latest
steps:
- name: Echo environment name
run: echo ${{ inputs.environment }}
- name: Echo super secret thing
run: echo $SUB_ID
env:
SUB_ID: ${{secrets.AZURE_SUBSCRIPTION_ID}}
# - name: Azure Login
# uses: azure/login@v1
# with:
# client-id: ${{ secrets.AZURE_CLIENT_ID }}
# tenant-id: ${{ secrets.AZURE_TENANT_ID }}
# subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}