vscode-deploy-reloaded icon indicating copy to clipboard operation
vscode-deploy-reloaded copied to clipboard

is it possible to zip deploy entire package instead of one file with deployOnChange and disable unique output file naming? [Question]

Open DosGuru opened this issue 5 years ago • 0 comments

Description

when I change a file, it zips up and deploys that file only. However when I do a deployment, it zips up the entire package (as expected). I've tried different minimatch filters, and cannot get deployOnChange to deploy an entire package - however a manual deploy works.

Also, is there anyway to disable the unique filenames when deploying to a zip file? I'd like to have it always deploy to (and overwrite) a single zip target.

here is my settings.json

{
    "deploy.reloaded": {
        "packages": [
            {
                "name": "Version 0.5.0",
                "description": "myproject",
                "deployOnChange": true,  
                "files": [
                    "**"
                ],
                "exclude": [
                    ".vscode/"
                ],
                "targets": ["zip_deploy"]
            }
        ],

        "targets": [
            {
                "type": "zip",
                "name": "zip_deploy",
                "description": "Create a ZIP file in a target directory",
                "open": false,
                "dir": "C:/deploy"
            }
        ]
    
    }

}

DosGuru avatar Dec 10 '19 02:12 DosGuru