README.md

ya-uploader-js

YaUploader: upload directory to Yandex Object Storage

d2a651b1d516:~$ bin/ya-upload.js --help
Usage: ya-upload [options]

YaUploader: upload directory to Yandex Object Storage

Options:
  -v, --version             print YaUploader version
  -d, --debug               output debug info
  -c, --config <config>     config file path (see ".ya-uploader.json.dist" for sample) (default: ".ya-uploader.json")
  -s, --source <source>     source directory (relative path; "." or "./" for current directory and so on) (default: "public")
  -t, --target <target>     target directory (":rootdir:", ":package:" or valid path like "a/b/c") (default: ":package:")
  -i, --ignore [ignore...]  ignore paths patterns (default: ["/\\.zip$/i","/\\/(nbproject|node_modules|\\.)/"])
  -h, --help                display help for command
d2a651b1d516:~$ cat .ya-uploader.json.dist
{
  "region": "ru-central1",
  "endPoint": "https://storage.yandexcloud.net",
  "bucket": "@var <bucket> from https://console.yandex.cloud/folders/<folderId>/storage/buckets/<bucket>",
  "oauthToken": "@see https://cloud.yandex.ru/docs/iam/concepts/authorization/oauth-token",
  "folderId": "@var <folderId> from https://console.yandex.cloud/folders/<folderId>/storage/buckets/<bucket>",
  "staticKeyId": "STATIC_KEY_ID",
  "staticKeySecret": "STATIC_KEY_SECRET"
}

screenshot

Конвейеры
0 успешных
0 с ошибкой