Created
October 3, 2019 15:57
-
-
Save biswajitpaul01/c8bbb0d397d1675eb107e692d4dea372 to your computer and use it in GitHub Desktop.
VSCode WordPress & Delpoy Extention Setup
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
// 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