-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (59 loc) · 1.76 KB
/
functionApp.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Function App Deployment
on:
push:
branches:
- main
paths:
- "**.py"
- "code/durablefunction/**"
- "tests/**"
- "requirements.txt"
- ".github/workflows/_functionAppDeployTemplate.yml"
pull_request:
branches:
- main
paths:
- "**.py"
- "code/durablefunction/**"
- "tests/**"
- "requirements.txt"
- ".github/workflows/_functionAppDeployTemplate.yml"
jobs:
hello:
runs-on: ubuntu-latest
steps:
- run: echo "Hello World"
# function_test:
# uses: ./.github/workflows/_functionAppTestTemplate.yml
# name: "Function App Test"
# with:
# python_version: "3.11"
# function_directory: "./code/function"
# function_container:
# uses: ./.github/workflows/_containerTemplate.yml
# name: "Function App Container"
# needs: [function_test]
# with:
# environment: "dev"
# working_directory: "./code/function"
# registry_uri: "ghcr.io"
# image_namespace_name: "PerfectThymeTech"
# image_name: "AzureFunctionPython"
# secrets:
# USER_NAME: ${{ github.actor }}
# PASSWORD: ${{ secrets.GITHUB_TOKEN }}
# function_deploy:
# uses: ./.github/workflows/_functionAppDeployTemplate.yml
# name: "Function App Deploy"
# # needs: [function_test]
# if: github.event_name == 'push' || github.event_name == 'release'
# with:
# environment: "dev"
# python_version: "3.11"
# function_directory: "./code/durablefunction"
# function_name: "myfunctiontst"
# tenant_id: "572cf1ec-3f90-49a2-896f-ab2fa36ca0d3"
# subscription_id: "be25820a-df86-4794-9e95-6a45cd5c0941"
# secrets:
# CLIENT_ID: ${{ secrets.CLIENT_ID }}
# CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}