{"id":17600206,"url":"https://github.com/simayosi/capistrano-scm-local_git_upload","last_synced_at":"2025-10-07T02:07:11.406Z","repository":{"id":62555043,"uuid":"470555282","full_name":"simayosi/capistrano-scm-local_git_upload","owner":"simayosi","description":"Capistrano SCM Plugin for local git clone and upload","archived":false,"fork":false,"pushed_at":"2022-03-16T11:33:48.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T02:06:04.316Z","etag":null,"topics":["capistrano-plugin","capistrano3","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/simayosi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-16T11:32:23.000Z","updated_at":"2024-08-10T05:59:37.000Z","dependencies_parsed_at":"2022-11-03T05:30:49.697Z","dependency_job_id":null,"html_url":"https://github.com/simayosi/capistrano-scm-local_git_upload","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simayosi/capistrano-scm-local_git_upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simayosi%2Fcapistrano-scm-local_git_upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simayosi%2Fcapistrano-scm-local_git_upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simayosi%2Fcapistrano-scm-local_git_upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simayosi%2Fcapistrano-scm-local_git_upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simayosi","download_url":"https://codeload.github.com/simayosi/capistrano-scm-local_git_upload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simayosi%2Fcapistrano-scm-local_git_upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["capistrano-plugin","capistrano3","ruby"],"created_at":"2024-10-22T11:09:44.370Z","updated_at":"2025-10-07T02:07:11.376Z","avatar_url":"https://github.com/simayosi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capistrano::Scm::LocalGitUpload\n\n[![Gem Version](https://badge.fury.io/rb/capistrano-scm-local_git_upload.svg)](https://badge.fury.io/rb/capistrano-scm-local_git_upload)\n![Ruby](https://github.com/simayosi/capistrano-scm-local_git_upload/actions/workflows/test.yml/badge.svg)\n\n\nCapistrano SCM Plugin for local git clone and upload.\n\nThis plugin firstly clones the git repository to the local host\nand thereafter uploads files on the local host to the remote servers.\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n```ruby\ngem 'capistrano-scm-local_git_upload'\n```\nAnd execute:\n```bash\n$ bundle install\n```\n\nAdd to Capfile:\n```ruby\nrequire \"capistrano/scm/local_git_upload\"\ninstall_plugin Capistrano::SCM::LocalGitUpload\n```\n\n## Usage\n\nThe git repository is cloned\nto `work_path` (default: `work`) on the local host\nbefore `deploy:started`.\n\nThen,\nfiles under `upload_path` (default: `upload`) on the local host\nare uploaded to `release_path` on the remote servers\nafter `deploy:new_release_path`.\n\nTherefore, you need to prepare `upload_path` using `work_path` files\nuntil `deploy:new_release_path`.\n\nThis is a simple copy example from `work/public` to `upload/public`.\n```ruby\nnamespace :sample_app do\n  task :copy_to_upload do\n    run_locally do\n      execute :cp, '-pr', work_path.join('public'), upload_path\n    end\n  end\n  before 'deploy:new_release_path', 'sample_app:copy_to_upload'\nend\n```\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimayosi%2Fcapistrano-scm-local_git_upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimayosi%2Fcapistrano-scm-local_git_upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimayosi%2Fcapistrano-scm-local_git_upload/lists"}