This action allows you to deploy a web deploy package or a folder to an IIS website with web deploy.
With a self-hosted runner running on the Windows server:
steps:
- uses: cschleiden/webdeploy-action@v1
with:
webSiteName: 'My IIS Site'
package: ${{ format('{0}\dist', runner.workspace) }}
This is a partial port of an Azure Pipelines task, not all options were ported, and the code wasn't cleaned up a lot.