Skip to content

Commit 2322a76

Browse files
authored
Add GitHub Actions workflow for Azure publishing
legacy github monitor workflow
1 parent 4e9c7d6 commit 2322a76

File tree

1 file changed

+281
-0
lines changed

1 file changed

+281
-0
lines changed
Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
name: GitHub Monitor - Azure publish
2+
3+
on: [workflow_dispatch]
4+
5+
# TODO avoid job steps copy paste with composite actions
6+
7+
jobs:
8+
publish_mobweb:
9+
environment: mobweb
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Setup dotnet
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: "6.0.x"
20+
21+
- name: "Run dotnet build"
22+
working-directory: github-monitor
23+
run: dotnet build --configuration Release --output ./output
24+
25+
- name: "Run Azure Functions Action"
26+
uses: Azure/functions-action@v1
27+
id: fa
28+
with:
29+
app-name: ahk-github-monitor
30+
package: "./github-monitor/output"
31+
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 }}
57+
58+
publish_viauav21:
59+
environment: viauav21
60+
runs-on: windows-latest
61+
62+
steps:
63+
- name: Checkout
64+
uses: actions/checkout@v2
65+
66+
- name: Setup dotnet
67+
uses: actions/setup-dotnet@v1
68+
with:
69+
dotnet-version: "6.0.x"
70+
71+
- name: "Run dotnet build"
72+
working-directory: github-monitor
73+
run: dotnet build --configuration Release --output ./output
74+
75+
- name: "Run Azure Functions Action"
76+
uses: Azure/functions-action@v1
77+
id: fa
78+
with:
79+
app-name: ahk-github-monitor
80+
package: "./github-monitor/output"
81+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
82+
83+
publish_viaubb03:
84+
environment: viaubb03
85+
runs-on: windows-latest
86+
87+
steps:
88+
- name: Checkout
89+
uses: actions/checkout@v2
90+
91+
- name: Setup dotnet
92+
uses: actions/setup-dotnet@v1
93+
with:
94+
dotnet-version: "6.0.x"
95+
96+
- name: "Run dotnet build"
97+
working-directory: github-monitor
98+
run: dotnet build --configuration Release --output ./output
99+
100+
- name: "Run Azure Functions Action"
101+
uses: Azure/functions-action@v1
102+
id: fa
103+
with:
104+
app-name: ahk-github-monitor
105+
package: "./github-monitor/output"
106+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
107+
108+
publish_viauab01:
109+
environment: viauab01
110+
runs-on: windows-latest
111+
112+
steps:
113+
- name: Checkout
114+
uses: actions/checkout@v2
115+
116+
- name: Setup dotnet
117+
uses: actions/setup-dotnet@v1
118+
with:
119+
dotnet-version: "6.0.x"
120+
121+
- name: "Run dotnet build"
122+
working-directory: github-monitor
123+
run: dotnet build --configuration Release --output ./output
124+
125+
- name: "Run Azure Functions Action"
126+
uses: Azure/functions-action@v1
127+
id: fa
128+
with:
129+
app-name: ahk-github-monitor
130+
package: "./github-monitor/output"
131+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
132+
133+
publish_viaumb02:
134+
environment: viaumb02
135+
runs-on: windows-latest
136+
137+
steps:
138+
- name: Checkout
139+
uses: actions/checkout@v2
140+
141+
- name: Setup dotnet
142+
uses: actions/setup-dotnet@v1
143+
with:
144+
dotnet-version: "6.0.x"
145+
146+
- name: "Run dotnet build"
147+
working-directory: github-monitor
148+
run: dotnet build --configuration Release --output ./output
149+
150+
- name: "Run Azure Functions Action"
151+
uses: Azure/functions-action@v1
152+
id: fa
153+
with:
154+
app-name: ahk-github-monitor
155+
package: "./github-monitor/output"
156+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
157+
158+
publish_viaumb11:
159+
environment: viaumb11
160+
runs-on: windows-latest
161+
162+
steps:
163+
- name: Checkout
164+
uses: actions/checkout@v2
165+
166+
- name: Setup dotnet
167+
uses: actions/setup-dotnet@v1
168+
with:
169+
dotnet-version: "6.0.x"
170+
171+
- name: "Run dotnet build"
172+
working-directory: github-monitor
173+
run: dotnet build --configuration Release --output ./output
174+
175+
- name: "Run Azure Functions Action"
176+
uses: Azure/functions-action@v1
177+
id: fa
178+
with:
179+
app-name: ahk-github-monitor
180+
package: "./github-monitor/output"
181+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
182+
183+
publish_viaubxav080:
184+
environment: viaubxav080
185+
runs-on: windows-latest
186+
187+
steps:
188+
- name: Checkout
189+
uses: actions/checkout@v2
190+
191+
- name: Setup dotnet
192+
uses: actions/setup-dotnet@v1
193+
with:
194+
dotnet-version: "6.0.x"
195+
196+
- name: "Run dotnet build"
197+
working-directory: github-monitor
198+
run: dotnet build --configuration Release --output ./output
199+
200+
- name: "Run Azure Functions Action"
201+
uses: Azure/functions-action@v1
202+
id: fa
203+
with:
204+
app-name: ahk-github-monitor
205+
package: "./github-monitor/output"
206+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
207+
208+
publish_VIAUBXAV081:
209+
environment: VIAUBXAV081
210+
runs-on: windows-latest
211+
212+
steps:
213+
- name: Checkout
214+
uses: actions/checkout@v2
215+
216+
- name: Setup dotnet
217+
uses: actions/setup-dotnet@v1
218+
with:
219+
dotnet-version: "6.0.x"
220+
221+
- name: "Run dotnet build"
222+
working-directory: github-monitor
223+
run: dotnet build --configuration Release --output ./output
224+
225+
- name: "Run Azure Functions Action"
226+
uses: Azure/functions-action@v1
227+
id: fa
228+
with:
229+
app-name: ahk-github-monitor
230+
package: "./github-monitor/output"
231+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
232+
233+
publish_VIAUBXAV084:
234+
environment: VIAUBXAV084
235+
runs-on: windows-latest
236+
237+
steps:
238+
- name: Checkout
239+
uses: actions/checkout@v2
240+
241+
- name: Setup dotnet
242+
uses: actions/setup-dotnet@v1
243+
with:
244+
dotnet-version: "6.0.x"
245+
246+
- name: "Run dotnet build"
247+
working-directory: github-monitor
248+
run: dotnet build --configuration Release --output ./output
249+
250+
- name: "Run Azure Functions Action"
251+
uses: Azure/functions-action@v1
252+
id: fa
253+
with:
254+
app-name: ahk-github-monitor
255+
package: "./github-monitor/output"
256+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}
257+
258+
publish_VIAUBC01:
259+
environment: VIAUBC01
260+
runs-on: windows-latest
261+
262+
steps:
263+
- name: Checkout
264+
uses: actions/checkout@v2
265+
266+
- name: Setup dotnet
267+
uses: actions/setup-dotnet@v1
268+
with:
269+
dotnet-version: "6.0.x"
270+
271+
- name: "Run dotnet build"
272+
working-directory: github-monitor
273+
run: dotnet build --configuration Release --output ./output
274+
275+
- name: "Run Azure Functions Action"
276+
uses: Azure/functions-action@v1
277+
id: fa
278+
with:
279+
app-name: ahk-github-monitor
280+
package: "./github-monitor/output"
281+
publish-profile: ${{ secrets.GITHUBMONITOR_AZUREPUBLISHPROFILE }}

0 commit comments

Comments
 (0)