added logo and meta tags #45
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: Build, publish and deploy project to UmbHost | |
on: | |
push: | |
branches: [ main ] | |
env: | |
SolutionName: ${{ secrets.SOLUTION_NAME }} | |
BuildPlatform: Any CPU | |
BuildConfiguration: Release | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Create Build Directory | |
run: mkdir _build | |
- name: Build Solution | |
run: | | |
dotnet build .\PSW\${{env.SolutionName}} /nologo /nr:false /p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:DeleteExistingFiles=True /p:SkipInvalidConfigurations=true /p:IncludeSetAclProviderOnDestination=False /p:AutoParameterizationWebConfigConnectionStrings=False /p:platform="${{env.BuildPlatform}}" /p:configuration="${{env.BuildConfiguration}}" /p:PackageLocation="../../_build" | |
- name: Deploy to UmbHost | |
uses: UmbHost/[email protected] | |
with: | |
website-name: ${{ secrets.WEBSITE_NAME }} | |
server-computer-name: ${{ secrets.SERVER_COMPUTER_NAME }} | |
server-username: ${{ secrets.USERNAME }} | |
server-password: ${{ secrets.PASSWORD }} | |
source-path: '_build' | |
source-fileName: PSW.zip |