{"id":43394713,"url":"https://github.com/webkong/git-deploy-directory","last_synced_at":"2026-02-02T14:21:09.447Z","repository":{"id":57143278,"uuid":"154862449","full_name":"webkong/git-deploy-directory","owner":"webkong","description":"Deploy a directory to a git branch. You can use the configuration file to deploy easily.Useful to deploy to GitHub Pages.","archived":false,"fork":false,"pushed_at":"2018-10-26T16:50:48.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T10:52:27.048Z","etag":null,"topics":["deploy","git","git-deploy"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-deploy-directory","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/webkong.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}},"created_at":"2018-10-26T16:21:18.000Z","updated_at":"2018-10-27T07:51:40.000Z","dependencies_parsed_at":"2022-09-03T18:41:02.584Z","dependency_job_id":null,"html_url":"https://github.com/webkong/git-deploy-directory","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webkong/git-deploy-directory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkong%2Fgit-deploy-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkong%2Fgit-deploy-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkong%2Fgit-deploy-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkong%2Fgit-deploy-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webkong","download_url":"https://codeload.github.com/webkong/git-deploy-directory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkong%2Fgit-deploy-directory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T12:48:30.580Z","status":"ssl_error","status_checked_at":"2026-02-02T12:46:38.384Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deploy","git","git-deploy"],"created_at":"2026-02-02T14:21:07.394Z","updated_at":"2026-02-02T14:21:09.440Z","avatar_url":"https://github.com/webkong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"English|[简体中文](./README_zh.md)\n\n# git-deploy-directory\n\nDeploy a directory to a git branch. You can use the configuration file to deploy easily.Useful to deploy to GitHub Pages.\n\n\n### Installation\n\n``` bash\n$ npm install -D git-deploy-directory\nor \n$ yarn add -D git-deploy-directory\n```\n\n### Usage\n``` bash\n// init \n\n$ git deploy init //Initialize the configuration file\n```\nConfiguration file\n```\n{\n  \"type\": \"git\",\n  \"repo\": \"https://github.com/webkong/xxxx.git\",  // git repo\n  \"branch\": \"docs\", // git branch \n  \"dir\": \"build\" // You are going to deploy directory\n}\n```\n\n```\n// deploy\n$ git deploy push\n```\n\n### License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n\n## Author\n\n![me](https://s.gravatar.com/avatar/1fe24100ab2109076fd777d1ad0a28c5?s=100)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkong%2Fgit-deploy-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebkong%2Fgit-deploy-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkong%2Fgit-deploy-directory/lists"}