mkloubert/vs-deploy

How do I switch between connections

beebase opened this issue · 1 comments

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": "...."
      }
    ]
  },

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