forked from statisticssweden/PxWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (23 loc) · 729 Bytes
/
azure.yml
File metadata and controls
34 lines (23 loc) · 729 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
name: Azure App Service
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: microsoft/setup-msbuild@v2
- uses: NuGet/setup-nuget@v2
- name: Restore NuGet packages
run: nuget restore
- name: Build the application
run: msbuild /nologo /verbosity:n /t:Build
- name: Run Azure webapp deploy action using publish profile credentials
uses: azure/webapps-deploy@v3
with:
app-name: PxWeb
slot-name: Production
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_3850D38E03784DBD806CCB5195A8FBD6 }}
package: ./PxWeb/