Created
January 9, 2018 13:21
-
-
Save kairos03/69851daa8a88b190ba10f95646f6a400 to your computer and use it in GitHub Desktop.
VSCode SFTP Deploy setting example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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