Last active
February 14, 2019 22:55
-
-
Save gsabater/f34ce9b8160501eb5f6e1f2a489f5353 to your computer and use it in GitHub Desktop.
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.reloaded": { | |
// Server targets | |
// Here you can define multiple remote servers | |
"targets": [ | |
{ | |
"type": "sftp", | |
"name": "REMOTE", | |
"host": "25.255.25.255", | |
// "port": 22, | |
"user": "USER", | |
"password": "*****", | |
"dir": "/srv/users/mysite/public/" | |
} | |
], | |
// Packages | |
// Every package defines a group of files | |
"packages": [ | |
{ | |
"name": "LOCAL", | |
"description": "Local files", | |
"deployOnSave": ["REMOTE"], | |
"fastCheckOnSave": true, | |
"checkBeforeDeploy": true, | |
"files": ["**/*.*"], | |
"exclude": [ | |
"\\.DS_Store", | |
"Thumbs\\.db", | |
"desktop\\.ini", | |
"tests/**", | |
"*git/**", | |
".vscode" | |
] | |
} | |
], | |
// Display the operation feedback for duration | |
"showStatusWhenFinished": 3000 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment