Skip to content

Commit

Permalink
hardcode exclude option
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Apr 11, 2022
1 parent 19beef0 commit 3a096ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4256,7 +4256,7 @@ new FtpDeploy()
localRoot: core.getInput('local_folder') || 'dist', // __dirname + '/local-folder',
deleteRemote: JSON.parse(core.getInput('cleanup')) || false, // If true, delete ALL existing files at destination before uploading
include: JSON.parse(core.getInput('include')) || ['*', '**/*'], // this would upload everything except dot files
exclude: core.getInput('exclude') || ['node_modules/**', 'node_modules/**/.*', '.git/**'], // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
exclude: ['node_modules/**', 'node_modules/**/.*', '.git/**'],
forcePasv: JSON.parse(core.getInput('pasive')) || true // Passive mode is forced (EPSV command is not sent)
})
.then(response => core.info('Deploy finished:', response))
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ new FtpDeploy()
localRoot: core.getInput('local_folder') || 'dist', // __dirname + '/local-folder',
deleteRemote: JSON.parse(core.getInput('cleanup')) || false, // If true, delete ALL existing files at destination before uploading
include: JSON.parse(core.getInput('include')) || ['*', '**/*'], // this would upload everything except dot files
exclude: core.getInput('exclude') || ['node_modules/**', 'node_modules/**/.*', '.git/**'], // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
exclude: ['node_modules/**', 'node_modules/**/.*', '.git/**'],
forcePasv: JSON.parse(core.getInput('pasive')) || true // Passive mode is forced (EPSV command is not sent)
})
.then(response => core.info('Deploy finished:', response))
Expand Down

0 comments on commit 3a096ff

Please sign in to comment.