{"id":19383936,"url":"https://github.com/docspring/convox-git-push","last_synced_at":"2025-09-10T06:40:41.728Z","repository":{"id":66068875,"uuid":"128197611","full_name":"DocSpring/convox-git-push","owner":"DocSpring","description":"\"git push\" deploys for convox","archived":false,"fork":false,"pushed_at":"2018-04-13T15:28:03.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T17:18:23.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://convox.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DocSpring.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-04-05T11:38:28.000Z","updated_at":"2019-02-04T08:37:14.000Z","dependencies_parsed_at":"2023-03-17T09:45:13.845Z","dependency_job_id":null,"html_url":"https://github.com/DocSpring/convox-git-push","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DocSpring/convox-git-push","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocSpring%2Fconvox-git-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocSpring%2Fconvox-git-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocSpring%2Fconvox-git-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocSpring%2Fconvox-git-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DocSpring","download_url":"https://codeload.github.com/DocSpring/convox-git-push/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocSpring%2Fconvox-git-push/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274422610,"owners_count":25282125,"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-09-10T02:00:12.551Z","response_time":83,"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":[],"created_at":"2024-11-10T09:28:27.452Z","updated_at":"2025-09-10T06:40:41.707Z","avatar_url":"https://github.com/DocSpring.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"git push\" deploys for convox\n\n### Introduction\n\n[convox/rack](https://github.com/convox/rack) is an open-source PaaS,\n\"built entirely on AWS cloud services for maximum privacy and minimum upkeep\".\n\nYou can use the convox CLI to deploy new code by running `convox deploy`.\nThe deploy command creates a tarball of all files in the project directory, excluding files\nlisted in `.dockerignore`.\n\n[setup.sh](setup.sh) clones your project into `.convox-build`, sets up a [git post-receive hook](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) that runs `convox deploy`, and sets up a `convox` git remote pointing to `.convox-build`.\nYou can run `git push convox` to deploy new code.\n\n\n### Setup (Script)\n\n```bash\ncd \u003cyour project directory\u003e\ncurl -s https://raw.githubusercontent.com/FormAPI/convox-git-push/master/setup.sh | bash\n```\n\n### Setup (Manual)\n\n```bash\ncd \u003cyour project directory\u003e\n\ntouch .git/info/exclude\ngrep -q .convox-build .git/info/exclude || echo \".convox-build\" \u003e\u003e .git/info/exclude\n\ngit clone . ./.convox-build\ngit remote add convox ./.convox-build\n(cd ./.convox-build \u0026\u0026 git config --local receive.denyCurrentBranch updateInstead)\n\nif [ -d .convox ]; then\n  ln -fs ../.convox ./.convox-build/.convox\nfi\n\ncat \u003e ./.convox-build/.git/hooks/post-receive \u003c\u003cEOF\n#!/bin/sh\nread OLDSHA NEWSHA REF\n# Do nothing if branch was deleted\nif [ \"$NEWSHA\" = \"0000000000000000000000000000000000000000\" ]; then exit; fi\nREVISION=$(git rev-parse HEAD)\necho \"Deploying $REVISION to convox...\"\ncd ..\nconvox deploy\nEOF\nchmod +x .convox-build/.git/hooks/post-receive\n```\n\n### Usage\n\n```bash\ngit push convox\n```\n\n### Why?\n\n* Ensure you don't include any files by accident (e.g. you forgot to add something to `.dockerignore`)\n* No need to `git stash` or `git checkout` before deploying new code.\n* Easily push a different branch to convox, e.g. `git push convox mybranch:master`\n* Makes convox feel like Heroku, and `git push` deploys are cool\n\n\n### Uninstall\n\n```bash\ncd \u003cyour project directory\u003e\ncurl -s https://raw.githubusercontent.com/FormAPI/convox-git-push/master/uninstall.sh | bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocspring%2Fconvox-git-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocspring%2Fconvox-git-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocspring%2Fconvox-git-push/lists"}