Skip to content

Commit

Permalink
Test 11
Browse files Browse the repository at this point in the history
  • Loading branch information
tymorrow committed Jun 9, 2024
1 parent dc34f7e commit 475b872
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: Sphinx Deploy
on: [push]
jobs:
build:
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
- name: Setup MSBuild v1
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/[email protected]
- name: setup-msbuild
- name: Setup MSBuild v1.1
uses: microsoft/[email protected]
- name: Restore Packages
run: nuget restore src/Sphinx.sln
Expand All @@ -23,12 +29,15 @@ jobs:
/p:WebPublishMethod=Package `
/p:PackageAsSingleFile=true `
/p:IncludeSetAclProviderOnDestination=False `
/p:AutoParameterizationWebConfigConnectionStrings=false
- name: Setup MSDeploy
uses: ChristopheLav/iis-deploy@v1
with:
website-name: 'Sphinx'
msdeploy-service-url: '${{ secrets.MSDEPLOY_URL }}'
msdeploy-username: ${{ secrets.MSDEPLOY_USERNAME }}
msdeploy-password: '${{ secrets.MSDEPLOY_PASSWORD }}'
source-path: ${{ github.workspace }}\dist\_PublishedWebsites\Dsp.Web_Package\Dsp.Web.zip
/p:AutoParameterizationWebConfigConnectionStrings=False
- name: Deploy Application
run: >
"C:/Program Files (x86)/IIS/Microsoft Web Deploy V3/msdeploy.exe" `
-source:package=$SPHINX_PACKAGE `
-verb:sync `
-allowUntrusted `
-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
2 changes: 1 addition & 1 deletion src/Dsp.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h1><strong>DELTA SIGMA PHI</strong></h1>
<h4 style="margin: 0 0 0 3px">DELTA EPSILON CHAPTER</h4>
<h4 style="margin: 0 0 0 3px">MISSOURI S&amp;T</h4>
<h4 style="margin: 0 0 0 3px">(actually auto-deployed)</h4>
<h4 style="margin: 0 0 0 3px">(test 11)</h4>
</div>
</div>
</div>
Expand Down

0 comments on commit 475b872

Please sign in to comment.