Skip to content

Merge pull request #30 from AleksanderNekr/actions #10

Merge pull request #30 from AleksanderNekr/actions

Merge pull request #30 from AleksanderNekr/actions #10

Workflow file for this run

name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
deploy-web:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore ChessTourManager.WEB/ChessTourManager.WEB.csproj
- name: Publish
run: dotnet publish -c Release --output /publish/ ChessTourManager.WEB/ChessTourManager.WEB.csproj --no-restore
- name: 📂 Deploy to FTP server
uses: SamKirkland/[email protected]
with:
server: win6055.site4now.net
username: chesstourmanager-001
password: ${{ secrets.FTP_PASSWORD }}
local-dir: /publish/
server-dir: chess-tour-manager/
timeout: 120000