Skip to content

Instantly share code, notes, and snippets.

@kairos03
Created January 9, 2018 13:21
Show Gist options
  • Save kairos03/69851daa8a88b190ba10f95646f6a400 to your computer and use it in GitHub Desktop.
Save kairos03/69851daa8a88b190ba10f95646f6a400 to your computer and use it in GitHub Desktop.
VSCode SFTP Deploy setting example
{
// deploy setting
"deploy": {
"packages": [
{
"name": "Package name",
"files": [
"**/*.py",
"**/.json"
],
"deployOnChange": {
"files": [
"**/*.py"
],
"useTargetList": true
},
"targets":[
"scg"
]
}
],
"targets": [
{
"type": "sftp",
"name": "scg",
"dir": "/home/kairos03/package_name",
"host": "host_ip",
"port": 22,
"user": "kairos03",
"password": your_password
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment