Skip to content

add signalR and view #13

add signalR and view

add signalR and view #13

Workflow file for this run

name: Mstaheri Development pipeline
on:
push:
branches: ["develop"]
pull_request:
branches: ["develop"]
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
- name: Restore Dependency
run: dotnet restore MSTSandogh.sln
- name: Build
run: dotnet build MSTSandogh.sln --no-restore
- name: Test
run: dotnet test MSTSandogh.sln --no-build --verbosity normal
- name: Publish
run: dotnet publish MSTSandogh.sln -c release --output ./Release
- name: App Setting Variable
uses: microsoft/variable-substitution@v1
with:
files: './Release/appsettings.json'
env:
ConnectionStrings.sqlServer: ${{secrets.CONNECTION_STRING}}
- name: FTP Deploy
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{secrets.ftp_server}}
username: ${{secrets.ftp_user}}
password: ${{secrets.ftp_password}}
local-dir: ./Release/