mkloubert / vscode-deploy-reloaded

Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-deploy-reloaded
GNU Lesser General Public License v3.0
163 stars 39 forks source link

Deploy Git Commit - Nothing is happens #144

Open danielfollow opened 5 years ago

danielfollow commented 5 years ago

Description

Deploying commit changes via SFTP is not working. I have tested simple commits like test text changes and it seems to be working. Is this potentially because of the large amount of items in the commit?

Actual behavior

No error messages, output, loader or notifications are showing up. Nothing happens.

Expected behavior

Deploy commit changes via SFTP

Steps to reproduce

  1. Checkout as production branch
  2. Merge develop branch to production branch
  3. Commit and Push
  4. Run deploy reloaded git commit
  5. Select the merged commit

Example config

{
   {
    "deploy.reloaded": {
        "packages": [
            {
                "name": "INIT",
                "description": "WP Content",
                "files": [
                    "trunk/wp-content/**",
                ],
                "exclude": [
                    "trunk/wp-content/themes/themename/node_modules/**",
                    "trunk/wp-content/themes/themename/.cache-loader/**",
                ]
            },
            {
                "name": "Dist",
                "description": "Compiled assets",
                "files": [
                    "trunk/wp-content/themes/themename/dist/**",
                    "trunk/wp-content/themes/themename/resources/**"
                ]
            }
        ],
        "targets": [
            {
                "type": "sftp",
                "name": "SFTP",

                "dir": "/user/project",
                "host": "", "port": 22,
                "user": "", "password": "",

                "mappings": {
                    "trunk/wp-content/**/*": "wp-content"
                }
            }
        ]
    }
}
}

Logs

INFO extension.deploy.reloaded.loadplugins - [03/Sep/2019:00:40:23 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
"
INFO extension.deploy.reloaded.loadplugins - [03/Sep/2019:00:40:30 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
"
INFO extension.deploy.reloaded.loadplugins - [03/Sep/2019:00:52:22 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
"
INFO extension.deploy.reloaded.loadplugins - [03/Sep/2019:00:52:28 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
"

Your environment