Skip to content

Instantly share code, notes, and snippets.

@biswajitpaul01
Created October 3, 2019 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biswajitpaul01/c8bbb0d397d1675eb107e692d4dea372 to your computer and use it in GitHub Desktop.
Save biswajitpaul01/c8bbb0d397d1675eb107e692d4dea372 to your computer and use it in GitHub Desktop.
VSCode WordPress & Delpoy Extention Setup
// Plugin URL: https://marketplace.visualstudio.com/items?itemName=mkloubert.vs-deploy
{
"files.exclude": {
"**/wp-admin": true,
"**/wp-includes": true
},
"deploy": {
"openOutputOnDeploy": false,
"showPopupOnSuccess": true,
"packages": [
{
"name": "Web Project",
"exclude": [
".bak/*",
".git/*",
".vscode/*",
"wp-config.php"
],
"deployOnSave": true
}
],
"targets": [
{
"type": "sftp",
"name": "kinsta.cloud",
"dir": "/public_html/",
"host": "127.0.0.1",
"port": 12345,
"user": "root",
"password": "root"
},
{
"type": "ftp",
"name": "example.com",
"dir": "/public_html/",
"host": "example.com",
"port": 21,
"user": "root",
"password": "root"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment