mkloubert / vs-deploy

Visual Studio Code extension that provides commands to deploy files of a workspace to a destination.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vs-deploy
MIT License
131 stars 24 forks source link

Mapping not working #167

Open mateosantosdev opened 5 years ago

mateosantosdev commented 5 years ago

Hi,

I'm trying to deploy my jekyll site but folder mapping is not working for me.

This is my target:

"packages": [
            {
                "name": "Prod",
                "description": "Jekyll Site Production",
                "files": [
                    "_site/*.*"
                ],
                "exclude": [
                    ".vscode/**",
                    ".git/**",
                    "node_modules/**",
                    "tests/**"
                ],
                "mappings": [
                    {
                        "source": "_site/",
                        "target": "/"
                    }
                ],
                "deployOnSave": false
            }
        ],

_site files are uploaded to:

/var/www/mysite/_site instead of /var/www/mysite

Could you help me ?

Thanks!