diff --git a/.github/workflows/deploy-to-iis.yml b/.github/workflows/deploy-to-iis.yml index 414e31255..fe69aae6e 100644 --- a/.github/workflows/deploy-to-iis.yml +++ b/.github/workflows/deploy-to-iis.yml @@ -129,7 +129,7 @@ jobs: # Run the Publish script to build clients and server. - name: Run Publish script shell: powershell - run: $env:GITHUB_WORKSPACE\Utilities\Publish.ps1 -CertificatePath "$env:GITHUB_WORKSPACE\GitHubActionsWorkflow.pfx" -CertificatePassword $env:PfxKey -Hostname $env:SiteUrl -CurrentVersion $env:CurrentVersion + run: &"$env:GITHUB_WORKSPACE\Utilities\Publish.ps1" -CertificatePath "$env:GITHUB_WORKSPACE\GitHubActionsWorkflow.pfx" -CertificatePassword $env:PfxKey -Hostname $env:SiteUrl -CurrentVersion $env:CurrentVersion # Create MSDeploy Publishing Profile - name: Create MSDeploy Profile