{"id":19069329,"url":"https://github.com/socratescli/git-deploy-archive","last_synced_at":"2026-06-24T05:31:59.275Z","repository":{"id":138113637,"uuid":"82493618","full_name":"socratescli/git-deploy-archive","owner":"socratescli","description":"Using git archive to deploy several (or part of) projects.","archived":false,"fork":false,"pushed_at":"2020-07-07T08:47:14.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-08T21:41:52.047Z","etag":null,"topics":["git-archive"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/socratescli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-19T22:18:58.000Z","updated_at":"2022-02-07T08:50:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"c246655d-34d4-4101-8d6d-289aa1d67be1","html_url":"https://github.com/socratescli/git-deploy-archive","commit_stats":null,"previous_names":["socratescli/git-deploy-archive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/socratescli/git-deploy-archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socratescli%2Fgit-deploy-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socratescli%2Fgit-deploy-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socratescli%2Fgit-deploy-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socratescli%2Fgit-deploy-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socratescli","download_url":"https://codeload.github.com/socratescli/git-deploy-archive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socratescli%2Fgit-deploy-archive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34719097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":["git-archive"],"created_at":"2024-11-09T01:13:58.446Z","updated_at":"2026-06-24T05:31:59.246Z","avatar_url":"https://github.com/socratescli.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-deploy-archive\nUsing git archive to deploy several (or part of) projects.\n\n## Install\n\n```\nsudo curl -o `git --exec-path`/git-deploy-archive \"https://raw.githubusercontent.com/socrateslee/git-deploy-archive/master/git-deploy-archive.sh\"\nsudo chmod +x `git --exec-path`/git-deploy-archive\n```\n\n## Usage\n\n```\ngit deploy-archive\ngit deploy-archive --cfg \u003cconfig-file\u003e\n```\n\n## .git-deploy-archive file\n.git-deploy-archive file is a simple configuration file, each line of the file contains 1) remote repo address, 2) treeish, 3) file or directory path to extract, 4) optional local path prefix for content extracted. A sample file is as below:\n\n```\n# basic\ngit@your-repo.com:test master src\n\n# extract a config.json from another repo to config/\ngit@your-repo.com:conf tag_1.2.0 config.json config\n\n# extract a static/dist folder, and rename prefix from static/dist to dist\ngit@your-repo.com:frontend master static/dist static_files dist\n```\n\n__NOTE__\n\n- [github doesn't support git archive](http://www.gilesorr.com/blog/git-archive-github.html)\n- gitlab(ssh address) do support git archive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocratescli%2Fgit-deploy-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocratescli%2Fgit-deploy-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocratescli%2Fgit-deploy-archive/lists"}