Action for self-hosted runners to manipulate iis application pools.
Required: IISAdministration
Parameter | Description | Required | Possible values |
---|---|---|---|
action |
The action to run | true | get-state , restart , start , stop |
appPoolName |
Name of the target application pool | true (if siteName not specified |
Any string |
siteName |
Name of the target IIS site | true (if appPoolName not specified) |
Any string |
...
jobs:
example:
runs-on: [self-hosted, deploy]
steps:
- name: Start app pool
id: start_app_pool
uses: 1k-off/[email protected]
with:
action: start
siteName: "Default Web Site"
appPoolName:
- run: Write-Host "App pool for the Default Web Site ${{ steps.start_app_pool.outputs.state }}"
...
...
jobs:
example:
runs-on: [self-hosted, deploy]
steps:
- name: Start app pool
id: start_app_pool
uses: 1k-off/[email protected]
with:
action: start
siteName:
appPoolName: "Default Web Site"
- run: Write-Host "App pool for the Default Web Site ${{ steps.start_app_pool.outputs.state }}"
...