Bump Azure/webapps-deploy from 2.2.9 to 2.2.10 #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
include-prerelease: true | |
- name: Build and Publish | |
run: dotnet publish RedLeg.Forms.csproj --configuration Release --output ${{env.DOTNET_ROOT}}/artifacts | |
- name: Deploy Azure WebApp | |
uses: Azure/webapps-deploy@v2.2.10 | |
if: contains(github.ref, 'main') | |
with: | |
# Publish profile (*.publishsettings) file contents with Web Deploy secrets | |
publish-profile: ${{ secrets.azureWebAppPublishProfile }} | |
# Name of the Azure Web App | |
app-name: RedLegForms | |
# Path to package or folder. *.zip, *.war, *.jar or a folder to deploy | |
package: ${{env.DOTNET_ROOT}}/artifacts |