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

Remote path needs to be different from local package path #151

Open
Kizmar opened this issue Apr 21, 2018 · 1 comment
Open

Remote path needs to be different from local package path #151

Kizmar opened this issue Apr 21, 2018 · 1 comment

Comments

@Kizmar
Copy link

Kizmar commented Apr 21, 2018

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?

@mbursill
Copy link

#66 (comment)

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

                // ...

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

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

2 participants