Skip to content

Instantly share code, notes, and snippets.

@rivenvirus
Created October 10, 2018 18:40
Show Gist options
  • Save rivenvirus/46804e66382e9368b6fcd2653cdf1037 to your computer and use it in GitHub Desktop.
Save rivenvirus/46804e66382e9368b6fcd2653cdf1037 to your computer and use it in GitHub Desktop.
Visual Studio Code - Deploy Plugin Config
{
"deploy": {
"host": {
"dir": "./files_from_remotes"
},
"packages": [
{
"name": "Deploy Package",
"description": "",
"files": [
"**/*.php",
"**/*.html",
"**/*.css",
"/*.json"
],
"exclude": [
"tests/**",
".git/**"
],
"deployOnSave": true
}
],
"targets": [
{
"type": "ftp",
"name": "00",
"description": "A SFTP folder",
"dir": "/",
"host": "host", "port": 21,
"user": "user", "password": ""
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment