{"id":20783135,"url":"https://github.com/huafu/ember-cli-deploy-rsync2","last_synced_at":"2025-07-19T07:12:07.570Z","repository":{"id":57223210,"uuid":"77668204","full_name":"huafu/ember-cli-deploy-rsync2","owner":"huafu","description":"Deploy Ember app using rsync, with support for revision list, activate, etc...","archived":false,"fork":false,"pushed_at":"2017-01-24T09:24:48.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-22T06:16:57.515Z","etag":null,"topics":["ember-addon","ember-cli-deploy","rsync"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huafu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-30T07:07:25.000Z","updated_at":"2016-12-31T06:15:01.000Z","dependencies_parsed_at":"2022-08-24T16:20:50.484Z","dependency_job_id":null,"html_url":"https://github.com/huafu/ember-cli-deploy-rsync2","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huafu%2Fember-cli-deploy-rsync2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huafu%2Fember-cli-deploy-rsync2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huafu%2Fember-cli-deploy-rsync2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huafu%2Fember-cli-deploy-rsync2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huafu","download_url":"https://codeload.github.com/huafu/ember-cli-deploy-rsync2/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125637,"owners_count":20240276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ember-addon","ember-cli-deploy","rsync"],"created_at":"2024-11-17T14:17:26.178Z","updated_at":"2025-03-11T22:46:33.101Z","avatar_url":"https://github.com/huafu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-deploy-rsync2\nEasily deploy your Ember applications to a remote server using scp via rsync.\n\n## Installation\nInstall ember-cli-deploy first:\n```bash\nember install ember-cli-deploy\n```\nInstall ember-cli-deploy-build for automated building:\n```bash\nember install ember-cli-deploy-build\n```\nInstall ember-cli-deploy-revision-data to keep track of deployed revisions:\n```bash\nember install ember-cli-deploy-revision-data\n```\nThen install ember-cli-deploy-rsync2 plugin (this plugin)\n```bash\nember install ember-cli-deploy-rsync2\n```\n## Usage\nEdit your `config/deploy.js` file:\n```javascript\nmodule.exports = function(environment){\n  const ENV = {\n  };\n\n  if (environment === 'production') {\n    ENV.rsync2 = {\n      host: '\u003chost\u003e',\n      username: '\u003cusername\u003e',\n      releasesPath: '\u003cremote-path\u003e'\n    }\n  }\n  return ENV;\n};\n\n```\nand start deploying:\n```bash\nember deploy production\n```\n\n## Configuration Options\n\nOption name | Description | Default | Examples\n---: | --- | :---: | ---\n`username` | SSH user name | **required** | `huafu`\n`host` | SSH host | **required** | `example.com`\n`releasesPath` | Path where all revisions will be uploaded (each revision will be in a separate folder based on the revision name) | **required** | `/var/www/example.com/revisions`\n`port` | SSH port | `22` | `2222`\n`sourcePath` | Path of the directory that will be uploaded | `tmp/deploy-dist` | `some/local/path`\n`exclude` | Exclude specified files and directories from uploading | `null`, | `['.htaccess', 'private']`\n`include` | Include specified files and directories back from exclude (if `exclude` is not defined, it'll be set to `*`) | `null`, | `images/*`\n`flags` | Flags to pass to the [rsync](https://www.npmjs.com/package/rsync#flagsflags-set) command | `rtu` | `ar`\n`currentPath` | Name of the symbolic link that will be created, pointing to the current deployed version. It can be relative to the `releasesPath`, or absolute. The created link will be relative anyway | `current` | `../current`\n`revisionFile` | Name of the remote file which will hold the list of revisions. This file is relative to the `releasesPath` | `revisions.json` | `../rev-manifest.json`\n`deployerFormat` | Format string for the deployer (`{userFullName}`, `{userName}` and `{user}` are possible variables, `{user}` will be replaced with the user full name if found, else user name | `{user}` | `Huafu`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuafu%2Fember-cli-deploy-rsync2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuafu%2Fember-cli-deploy-rsync2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuafu%2Fember-cli-deploy-rsync2/lists"}