Skip to content

updated deployment pipelines #1

updated deployment pipelines

updated deployment pipelines #1

Workflow file for this run

name: web-win
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Build with dotnet
run: dotnet build AspNetCoreSpa.sln -c Release
- name: dotnet publish
run: dotnet publish src/Presentation/Web/Web.csproj -c Release -o publish
- name: Deploy to IIS
run: |
iisreset /stop
Copy-Item ./publish/* C:/inetpub/wwwroot/aspnetcorespa -Recurse -Force
iisreset /start