Skip to content

Commit 8780735

Browse files
authored
Merge pull request #14 from jbampton/fix-spelling
Fix spelling `Passive` FTP
2 parents 1609695 + 1a6d5ef commit 8780735

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Nodejs ftp deployment with github actions.
1818
cleanup: false # optional, remove existing files inside FTP remote folder
1919
include: '[]' # optional, e.g. '['dist']'
2020
exclude: '[]' # optional, e.g. '['node_modules/**', '.git/**', '*.env']'
21-
pasive: true # optional
21+
passive: true # optional
2222
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ inputs:
4141
required: false
4242
default: false
4343
description: 'exclude'
44-
pasive:
44+
passive:
4545
required: false
4646
default: false
4747
description: 'passive'

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4291,7 +4291,7 @@ new FtpDeploy()
42914291
deleteRemote: JSON.parse(core.getInput('cleanup')) || false, // If true, delete ALL existing files at destination before uploading
42924292
include: JSON.parse(core.getInput('include')) || ['*', '**/*'], // this would upload everything except dot files
42934293
exclude: JSON.parse(core.getInput('exclude')) || ['node_modules/**', 'node_modules/**/.*', '.git/**'], // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
4294-
forcePasv: JSON.parse(core.getInput('pasive')) || true // Passive mode is forced (EPSV command is not sent)
4294+
forcePasv: JSON.parse(core.getInput('passive')) || true // Passive mode is forced (EPSV command is not sent)
42954295
})
42964296
.then(response => core.info('Deploy finished:', response))
42974297
.catch(error => core.error(error));

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ new FtpDeploy()
1515
deleteRemote: JSON.parse(core.getInput('cleanup')) || false, // If true, delete ALL existing files at destination before uploading
1616
include: JSON.parse(core.getInput('include')) || ['*', '**/*'], // this would upload everything except dot files
1717
exclude: JSON.parse(core.getInput('exclude')) || ['node_modules/**', 'node_modules/**/.*', '.git/**'], // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
18-
forcePasv: JSON.parse(core.getInput('pasive')) || true // Passive mode is forced (EPSV command is not sent)
18+
forcePasv: JSON.parse(core.getInput('passive')) || true // Passive mode is forced (EPSV command is not sent)
1919
})
2020
.then(response => core.info('Deploy finished:', response))
2121
.catch(error => core.error(error));

0 commit comments

Comments
 (0)