Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

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

Open
DosGuru opened this issue Dec 10, 2019 · 0 comments

Comments

@DosGuru
Copy link

DosGuru commented Dec 10, 2019

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"
            }
        ]
    
    }

}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant