1.1.0 • Published 8 years ago

publisssh v1.1.0

Weekly downloads
104
License
-
Repository
-
Last release
8 years ago

Sync a directory

publisssh ./local-dir bucket/remote-dir

Remove remote orphans with --remove or -r.

Simulate changes with --dry-run or -d.

AWS keys are --key (-k) and --secret (-s), otherwise it'll use the AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY environment variables.

Config file

Configuration can be stored in publisssh.json, .js, or .coffee. Specify something else with --config or -c.

E.g.:

# publisssh.coffee
module.exports =
  local: 'public'
  bucket: 'www.example.com'
  prefix: 'demo'
  key: process.env.ALT_AMAZON_ACCESS_KEY_ID
  secret: process.env.ALT_AMAZON_SECRET_ACCESS_KEY
1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

9 years ago

1.0.0-beta

9 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.1

11 years ago