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
132 stars 23 forks source link

How do I switch between connections #153

Open beebase opened 6 years ago

beebase commented 6 years ago

I've set up 2 targets. I suppose I have to use Deploy: Change switch?

I'm getting this message when doing so. [vs-deploy] No swicthes available!

settings

"deploy": {
    "targets": [
      {
        "type": "sftp",
        "name": "DevServer",
        "description": "..",
        "dir": "/home",
        "host": "....",
        "port": 22,
        "user": ".....",
        "password": "...."
      },
      {
        "type": "sftp",
        "name": "LiveServer",
        "description": "..",
        "dir": "/home",
        "host": "....",
        "port": 22,
        "user": ".....",
        "password": "...."
      }
    ]
  },
beebase commented 6 years ago

Fixed it by putting targets in workspace settings. I had them located in user settings before that. image