Skip to content
play

GitHub Action

GitHub Actions WebDeploy

v1.1.0 Latest version

GitHub Actions WebDeploy

play

GitHub Actions WebDeploy

Deploy to IIS using GitHub Actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: GitHub Actions WebDeploy

uses: cschleiden/webdeploy-action@v1.1.0

Learn more about this action in cschleiden/webdeploy-action

Choose a version

Deploy a package to IIS via Web Deploy

This action allows you to deploy a web deploy package or a folder to an IIS website with web deploy.

Example:

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) }}

Acknowledgments

This is a partial port of an Azure Pipelines task, not all options were ported, and the code wasn't cleaned up a lot.