Skip to content

Commit a0abe52

Browse files
authored
add adatvez job
1 parent aa8ea1d commit a0abe52

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/github-monitor-azure-publish.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: GitHub Monitor - Azure publish
22

33
on: [workflow_dispatch]
44

5+
# TODO avoid job steps copy paste with composite actions
6+
57
jobs:
6-
publish:
8+
publish_mobweb:
79
environment: mobweb
810
runs-on: windows-latest
911

@@ -27,3 +29,28 @@ jobs:
2729
app-name: ahk-github-monitor
2830
package: "./github-monitor/output"
2931
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
32+
33+
publish_adatvez:
34+
environment: adatvez
35+
runs-on: windows-latest
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v2
40+
41+
- name: Setup dotnet
42+
uses: actions/setup-dotnet@v1
43+
with:
44+
dotnet-version: "6.0.x"
45+
46+
- name: "Run dotnet build"
47+
working-directory: github-monitor
48+
run: dotnet build --configuration Release --output ./output
49+
50+
- name: "Run Azure Functions Action"
51+
uses: Azure/functions-action@v1
52+
id: fa
53+
with:
54+
app-name: ahk-github-monitor
55+
package: "./github-monitor/output"
56+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}

0 commit comments

Comments
 (0)