Skip to content

Test 16

Test 16 #18

Workflow file for this run

name: Sphinx Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: windows-2019
env:
SPHINX_PACKAGE: ${{ github.workspace }}\dist\_PublishedWebsites\Dsp.Web_Package\Dsp.Web.zip
SPHINX_USERNAME: ${{ secrets.MSDEPLOY_USERNAME }}
SPHINX_PASSWORD: ${{ secrets.MSDEPLOY_PASSWORD }}
SPHINX_DEPLOY_URL: ${{ secrets.MSDEPLOY_URL }}
SPHINX_IIS_WEBSITE_NAME: Sphinx
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild v1
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Setup MSBuild v1.1
uses: microsoft/[email protected]
- name: Restore Packages
run: nuget restore src/Sphinx.sln
- name: Build Solution
run: >
msbuild .\src\Sphinx.sln `
/p:OutDir=.\dist\ `
/p:Configuration=Release `
/p:GenerateSerializationAssemblies=False `
/p:DeployOnBuild=true `
/p:WebPublishMethod=Package `
/p:PackageAsSingleFile=true `
/p:IncludeSetAclProviderOnDestination=False `
/p:AutoParameterizationWebConfigConnectionStrings=False

Check failure on line 32 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
- name: Deploy Application
shell: cmd
run: "C:/Program Files (x86)/IIS/Microsoft Web Deploy V3/msdeploy.exe" -verb:sync -allowUntrusted -source:package=$SPHINX_PACKAGE -dest:auto,ComputerName="$SPHINX_DEPLOY_URL",UserName="$SPHINX_USERNAME",Password="$SPHINX_PASSWORD",IncludeAcls=False,AuthType=Basic -setParam:name="IIS Web Application Name",value="$SPHINX_IIS_WEBSITE_NAME" -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension