vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

Remote path needs to be different from local package path

Open Kizmar opened this issue 6 years ago • 1 comments

In my scenario, locally I have a package set up in "LocalDirectory\build", for example. I have a deploy target set up with a directory "RemoteDirectory".

I want to deploy the contents of "LocalDirectory\build" to the root of "RemoteDirectory", but it's deploying to "RemoteDirectory\LocalDirectory\build". Is there a way to change this?

Kizmar avatar Apr 21 '18 13:04 Kizmar

https://github.com/mkloubert/vs-deploy/issues/66#issuecomment-299896973

{
    "deploy": {
        "targets": [
            {
                "type": "ftp",

                // ...

                "mappings": [
                    {
                        "source": "/dist",
                        "target": "/"
                    }
                ]
            }
        ]
    }
}

mbursill avatar Jun 25 '18 16:06 mbursill