Skip to content

Commit ef2b738

Browse files
authored
Add Azure Functions deployment step for VIAUBC01
1 parent 07df5c8 commit ef2b738

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,3 +254,28 @@ jobs:
254254
app-name: ahk-github-monitor
255255
package: "./github-monitor/output"
256256
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)