<commit_before>{
    "id": "EDEE4D57-FD49-466B-BFC3-1CBBA4E8C24A",
    "name": "DNX.Tasks.PublishWebPackage",
    "friendlyName": "DNX Tasks Azure PublishWebPackage",
    "description": "Publish a DNX package to Azure Website",
    "helpMarkDown": "Version: 0.1.0",
    "category": "Deploy",
    "author": "<NAME>",
    "version": {
        "Major": 0,
        "Minor": 1,
        "Patch": 0
    },
    "visibility": [
        "Build",
        "Release"
    ],
    "demands": [
        "azureps"
    ],
    "minimumAgentVersion": "1.95.0",
    "groups": [
        {
            "name": "advanced",
            "displayName": "Advanced",
            "isExpanded": false
        }
    ],
    "inputs": [
        {
            "name": "ConnectedServiceName",
            "type": "connectedService:Azure",
            "label": "Azure Classic Subscription",
            "defaultValue": "",
            "required": true,
            "helpMarkDown": "Azure Classic subscription to configure before running PowerShell"
        },
        {
            "name": "WebSiteLocation",
            "type": "pickList",
            "label": "Web App Location",
            "defaultValue": "",
            "required": false,
            "helpMarkDown": "Select a region for deployment. Possible options are **East US**, **East US 2**, **Central US**, **South Central US**, **West US**, **North Europe**, **West Europe** and others.",
            "properties": {
                "EditableOptions": "True"
            }
        },
        {
            "name": "WebSiteName",
            "type": "pickList",
            "label": "Web App Name",
            "defaultValue": "",
            "required": true,
            "properties": {
                "EditableOptions": "True"
            }
        },
        {
            "name": "SlotName",
            "type": "pickList",
            "label": "Deployment Slot",
            "defaultValue": "",
            "helpMarkdown": "Slotname where to deploy. Leave empty if not used.",
            "required": false,
            "properties": {
                "EditableOptions": "True"
            },
            "options": {
                "Dev": "Dev",
                "Staging": "Staging"
            }
        },
        {
            "name": "Source",
            "label": "Source",
            "type": "filePath",
            "defaultValue": "$(Build.StagingDirectory)\\Publish",
            "helpMarkdown": "The source folder with the content to deploy or a .zip file to deploy.",
            "required": true
        },
        {
            "name": "Destination",
            "label": "Destination",
            "type": "string",
            "defaultValue": "site",
            "helpMarkdown": "The destination folder where to put the files in the Azure Web App. Default is 'site",
            "required": true,
            "groupName": "advanced"
        },
        {
            "name": "StopBeforeDeploy",
            "type": "boolean",
            "label": "Stop Before Deploy",
            "defaultValue": "true",
            "required": true,
            "helpMarkDown": "Stop website before deployment to avoid 'File in use' Error.",
            "groupName": "advanced"
        },
        {
            "name": "CleanBeforeDeploy",
            "type": "boolean",
            "label": "Clean Before Deploy",
            "defaultValue": "false",
            "required": true,
            "helpMarkDown": "The destination folder will be cleaned before the deployment.<br>Warning:<br>All files and folders will be deleted within the destination folder.",
            "groupName": "advanced"
        },
        {
            "name": "ForceRestart",
            "type": "boolean",
            "label": "Restart After Deploy",
            "defaultValue": "true",
            "required": true,
            "helpMarkDown": "Restart website after deployment.",
            "groupName": "advanced"
        }
    ],
    "dataSourceBindings": [
        {
            "target": "WebSiteName",
            "endpointId": "$(ConnectedServiceName)",
            "dataSourceName": "AzureWebSiteNames",
            "parameters": {
                "WebSiteLocation": "$(WebSiteLocation)"
            }
        },
        {
            "target": "WebSiteLocation",
            "endpointId": "$(ConnectedServiceName)",
            "dataSourceName": "AzureLocations"
        }
    ],
    "instanceNameFormat": "Publish Web Package: $(WebSiteName)",
    "execution": {
        "AzurePowerShell": {
            "target": "$(currentDirectory)\\PublishWebPackage.ps1",
            "argumentFormat": "",
            "workingDirectory": "$(currentDirectory)"
        }
    }
}
<commit_msg>Changed default deployment target folder<commit_after>{
    "id": "EDEE4D57-FD49-466B-BFC3-1CBBA4E8C24A",
    "name": "DNX.Tasks.PublishWebPackage",
    "friendlyName": "DNX Tasks Azure PublishWebPackage",
    "description": "Publish a DNX package to Azure Website",
    "helpMarkDown": "Version: 0.1.0",
    "category": "Deploy",
    "author": "<NAME>",
    "version": {
        "Major": 0,
        "Minor": 1,
        "Patch": 0
    },
    "visibility": [
        "Build",
        "Release"
    ],
    "demands": [
        "azureps"
    ],
    "minimumAgentVersion": "1.95.0",
    "groups": [
        {
            "name": "advanced",
            "displayName": "Advanced",
            "isExpanded": false
        }
    ],
    "inputs": [
        {
            "name": "ConnectedServiceName",
            "type": "connectedService:Azure",
            "label": "Azure Classic Subscription",
            "defaultValue": "",
            "required": true,
            "helpMarkDown": "Azure Classic subscription to configure before running PowerShell"
        },
        {
            "name": "WebSiteLocation",
            "type": "pickList",
            "label": "Web App Location",
            "defaultValue": "",
            "required": false,
            "helpMarkDown": "Select a region for deployment. Possible options are **East US**, **East US 2**, **Central US**, **South Central US**, **West US**, **North Europe**, **West Europe** and others.",
            "properties": {
                "EditableOptions": "True"
            }
        },
        {
            "name": "WebSiteName",
            "type": "pickList",
            "label": "Web App Name",
            "defaultValue": "",
            "required": true,
            "properties": {
                "EditableOptions": "True"
            }
        },
        {
            "name": "SlotName",
            "type": "pickList",
            "label": "Deployment Slot",
            "defaultValue": "",
            "helpMarkdown": "Slotname where to deploy. Leave empty if not used.",
            "required": false,
            "properties": {
                "EditableOptions": "True"
            },
            "options": {
                "Dev": "Dev",
                "Staging": "Staging"
            }
        },
        {
            "name": "Source",
            "label": "Source",
            "type": "filePath",
            "defaultValue": "$(Build.StagingDirectory)\\Publish",
            "helpMarkdown": "The source folder with the content to deploy or a .zip file to deploy.",
            "required": true
        },
        {
            "name": "Destination",
            "label": "Destination",
            "type": "string",
            "defaultValue": "site/wwwroot",
            "helpMarkdown": "The destination folder where to put the files in the Azure Web App. Default is 'site",
            "required": true,
            "groupName": "advanced"
        },
        {
            "name": "StopBeforeDeploy",
            "type": "boolean",
            "label": "Stop Before Deploy",
            "defaultValue": "true",
            "required": true,
            "helpMarkDown": "Stop website before deployment to avoid 'File in use' Error.",
            "groupName": "advanced"
        },
        {
            "name": "CleanBeforeDeploy",
            "type": "boolean",
            "label": "Clean Before Deploy",
            "defaultValue": "false",
            "required": true,
            "helpMarkDown": "The destination folder will be cleaned before the deployment.<br>Warning:<br>All files and folders will be deleted within the destination folder.",
            "groupName": "advanced"
        },
        {
            "name": "ForceRestart",
            "type": "boolean",
            "label": "Restart After Deploy",
            "defaultValue": "true",
            "required": true,
            "helpMarkDown": "Restart website after deployment.",
            "groupName": "advanced"
        }
    ],
    "dataSourceBindings": [
        {
            "target": "WebSiteName",
            "endpointId": "$(ConnectedServiceName)",
            "dataSourceName": "AzureWebSiteNames",
            "parameters": {
                "WebSiteLocation": "$(WebSiteLocation)"
            }
        },
        {
            "target": "WebSiteLocation",
            "endpointId": "$(ConnectedServiceName)",
            "dataSourceName": "AzureLocations"
        }
    ],
    "instanceNameFormat": "Publish Web Package: $(WebSiteName)",
    "execution": {
        "AzurePowerShell": {
            "target": "$(currentDirectory)\\PublishWebPackage.ps1",
            "argumentFormat": "",
            "workingDirectory": "$(currentDirectory)"
        }
    }
}

{'fraction_non_alphanumeric': 0.1469746741549221, 'fraction_numerical': 0.005510225707322242, 'mean_word_length': 1.639261744966443, 'pattern_counts': {'":': 200, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7379927', 'n_tokens_mistral': 2538, 'n_tokens_neox': 2461, 'n_words': 624}