Comments (7)
The feature is available since version 0.51.0.
As defined in your example config, the button should only deploy to Test
target now.
from vscode-deploy-reloaded.
The new version is published and available.
Select Extensions
tab on the left side (CTRL + Shift + X
) and search for vscode-deploy-reloaded
and you should see an "upgrade button".
If this does not work, simply reinstall it.
from vscode-deploy-reloaded.
Seems it was some issue with my VSC. All works after I restart it
from vscode-deploy-reloaded.
You have to specify glob patterns in files
(and maybe exclude
) properties of your package:
{
"deploy.reloaded": {
"packages": [
{
"name": "Public to test",
"files": [
"js/*.js",
"css/*.css",
"**/*.html",
],
"exclude": [
"**/*.map",
],
"button": {
"text": "Deploy to 'test'",
"tooltip": "Click here to deploy to the target...",
"targets": [ "Test" ]
}
}
],
"targets": [
{
"type": "sftp",
"name": "Test",
"description": "Test server",
"dir": "/var/www/html/myProject"
}
]
}
}
Folder mappings only make sense if you want to map a local folder to another one:
{
"deploy.reloaded": {
// ...
"targets": [
{
"type": "sftp",
"name": "Test",
"description": "Test server",
"dir": "/var/www/html/myProject",
"mappings": {
"/html/**": "/PUBLIC"
}
}
]
}
}
Anything that is part of /html
inside your workspace, will be deployed to /var/www/html/myProject/PUBLIC
.
from vscode-deploy-reloaded.
thnx. I specified glob patterns in files properties and its work.
But I have several targets and when I pres button it still asked me to what exactly target i want to deploy
from vscode-deploy-reloaded.
Oh ... the feature with the defined target, as described in the wiki, is not implemented yet ... I will try to implement this in the next hours.
from vscode-deploy-reloaded.
thnx. it's really fast)
ps. maybe you know when it will be available in VSC?
from vscode-deploy-reloaded.
Related Issues (20)
- Symbolink links in packages are not followed under Windows HOT 1
- Deploy Based on SVN Status HOT 1
- Best way to deploy different folders to different targets HOT 3
- SFTP destination file is given current timestamp, not timestamp of source file
- Exclude filters not being honoured
- Empty folders and dot files are not deployed
- Ability to pull all files with sub folders on selection
- Disable popups
- Typo on wiki-page
- Be more verbose when action start or connecting
- I tried setting up this extension and now I can't reach my live domain anymore
- How to select files without parent folder
- Clean/delete from remote directory before deploy HOT 1
- Since VsCode Version : 1.53.0 Deploy crash on save #173
- sftp: Cannot parse privateKey: Unsupported key format HOT 2
- After renaming a file from CamelCase to lowercase, it's still deployed with CamelCase name (SFTP)
- Add support for active-transfer FTP servers
- How to get proper file permissions on the destination server?
- 'Cannot parse privateKey: Unsupported key format'
- Deploy reloaded no longer working after vscode update to 1.59.0 HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-deploy-reloaded.