forked from Azure-Samples/app-service-web-html-get-started
-
Notifications
You must be signed in to change notification settings - Fork 37
36 lines (27 loc) · 1.02 KB
/
master_testedfefqwfq.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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build and deploy ASP app to Azure Web App - testedfefqwfq
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: 'windows-latest'
steps:
- uses: actions/checkout@master
- name: Setup MSBuild path
uses: microsoft/setup-msbuild@v1.0.0
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.2
- name: Restore NuGet packages
run: nuget restore
- name: Publish to folder
run: msbuild /p:Configuration=Release /p:DeployOnBuild=true /t:WebPublish /p:WebPublishMethod=FileSystem /p:publishUrl=./published/ /p:PackageAsSingleFile=false
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
with:
app-name: 'testedfefqwfq'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_4eea27721e0945889fc106170d9c227c }}
package: ./published/